#!/bin/sh if [ ${II2BUILDSTAMP} -lt 1160910526 ] then echo "### You need at least i-Installer 2.83 for this package. Bailing out..." >&2 exit 1 fi PROGNAME=`"${II2RESOURCES}/basename" "$0"` echo "### ${PROGNAME}: Started..." source "${II2RESOURCES}/ii2shfuncs.sh" || \ { echo "### ${PROGNAME}: Cannot load ${II2RESOURCES}/ii2shfuncs.sh. Bailing out..." ; \ exit 1; } ii2checksanity ii2calledfrom ii2checksubdirs "${II2INSTALLDIR}" bin man/man1 echo "### ${PROGNAME}: Removing previous install (if any)" (cd "${II2INSTALLDIR}" && \ rm -rf bin/binhex \ bin/frommac \ bin/hexbin \ bin/macsave \ bin/macstream \ bin/macunpack \ bin/tomac \ man/man1/binhex.1 \ man/man1/frommac.1 \ man/man1/hexbin.1 \ man/man1/macsave.1 \ man/man1/macstream.1 \ man/man1/macunpack.1 \ man/man1/macutil.1 \ man/man1/tomac.1 ) ii2removeemptysubdirs "${II2INSTALLDIR}" bin man/man1 man echo "### ${PROGNAME}: Finished." exit 0 # $Id: macutils.remove 75 2006-10-27 19:45:14Z gctwnl $