#!/bin/sh # wrap-openclip-bin - "Execute" wrapper for "openclip" # License: BSD-style (for this file only) # Revision: 110905 LOOPFILE=__META_LOOPFILE__ MNTDIR=__META_MNTDIR__ PROGNAME="Open ClipArt archive" 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 file://$MNTDIR & exit fi 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"