pkgsrc/www/typolight27/DEINSTALL
taca c77b9ddddb Importing www/typolight27 (TYPOlight 2.7.RC2).
This is beta version of TYPOlight which will be released next month.

Now, typoligth26 and typolight27 can coexist and it's greatly help
migration between these releases.
2009-04-26 03:58:41 +00:00

20 lines
514 B
Text

# $NetBSD: DEINSTALL,v 1.1.1.1 2009/04/26 03:58:41 taca Exp $
TL_WEBDIR="@PREFIX@/@TL_WEBDIR@"
TL_DIRS="system/config system/drivers system/libraries system/logs \
system/modules system/themes system/config system templates"
case ${STAGE} in
DEINSTALL)
# remove cache files.
${FIND} ${TL_WEBDIR}/system/html -type f ! -name index.html \
-exec ${RM} -f {} \;
;;
POST-DEINSTALL)
(cd ${TL_WEBDIR}
for d in ${TL_DIRS}; do
${RMDIR} $d >/dev/null 2>&1
done)
${RMDIR} ${TL_WEBDIR} >/dev/null 2>&1
;;
esac