#!/bin/sh # wrap-kjbible-bin - "Execute" wrapper for "kjbible" # License: BSD-style (for this file only) # Revision: 110915 LOOPFILE=__META_LOOPFILE__ MNTDIR=__META_MNTDIR__ PROGNAME="King James Bible" TITLE="Not provided by this version" if [ -f $LOOPFILE ]; then mkdir -p $MNTDIR n=`ls $MNTDIR | wc -l` if [ $n == 0 ]; then sudo /bin/mount -o loop $LOOPFILE $MNTDIR fi icecat http://127.0.0.1:5500/etext/Misc/kjbible/bible.htm & else MSG="Due to disk-space constraints, this version of the distro omits the $PROGNAME. You can get the package by booting a larger version." /laclin/lacutil/single-instance --wait --usewin \ "^$TITLE" \ /laclin/bin/zenity --error --no-wrap --title="$TITLE" --text="$MSG" fi # Don't remove the following META... lines. These are meta-comments # required for normal operation. # # METAGROUPLINK /laclin/groups/Programs/Library/kjbible # METAGROUPNEED /xzm/kjbibledata.xzm