#!/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 include lib/BibTool man/man1 echo "### ${PROGNAME}: Removing previous install (if any)" (cd "${II2INSTALLDIR}" && \ rm -rf bin/bibtool \ include/bibtool \ lib/libbib.a \ man/man1/bibtool.1 \ lib/BibTool ) ii2removeemptysubdirs "${II2INSTALLDIR}" bin include/bibtool man/man1 lib echo "### ${PROGNAME}: Finished." exit 0 # $Id: bibtool.remove 75 2006-10-27 19:45:14Z gctwnl $