#!/bin/sh if [ ${II2BUILDSTAMP} -lt 1216887688 ] then echo "### You need at least i-Installer 2.91 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 share/latex2rtf info man/man1 echo "### ${PROGNAME}: Removing previous install (if any)" (cd "${II2INSTALLDIR}" && \ rm -rf bin/latex2rtf \ bin/latex2png \ share/latex2rtf \ info/latex2rtf.info \ man/man1/latex2rtf.1 ) ii2removeemptysubdirs "${II2INSTALLDIR}" bin share man/man1 man echo "### ${PROGNAME}: Finished." exit 0 # $Id: latex2rtf.remove 118 2008-10-04 09:51:34Z gctwnl $