#!/bin/sh if [ ${II2BUILDSTAMP} -lt 1211779507 ] then echo "### You need at least i-Installer 2.89 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/freetype2 lib/pkgconfig echo "### ${PROGNAME}: Removing previous install (if any)" (cd "${II2INSTALLDIR}" && \ rm -rf bin/freetype-config \ lib/libfreetype* \ lib/pkgconfig/freetype2.pc \ include/freetype2 include/ft2build.h ) ii2removeemptysubdirs "${II2INSTALLDIR}" lib include bin echo "### ${PROGNAME}: Finished." exit 0 # $Id: freetype2.remove 75 2006-10-27 19:45:14Z gctwnl $