#!/bin/sh # wrap-wpclipart-bin - "Execute" wrapper for "wpclipart" # License: BSD-style (for this file only) # Revision: 110905 LOOPFILE=__META_LOOPFILE__ MNTDIR=__META_MNTDIR__ PROGNAME="WPClipArt" TITLE="Not provided by this version" if [ -f $LOOPFILE ]; then mkdir -p $MNTDIR chmod 777 $MNTDIR n=`ls $MNTDIR | wc -l` if [ $n == 0 ]; then sudo /bin/mount -o loop $LOOPFILE $MNTDIR fi icecat $MNTDIR/ & else MSG="Due to disk-space constraints, this version of the distro omits $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