pkgsrc/www/contao35/DEINSTALL
taca f4477088c8 Add Contao 3.5.0 package.
Contao is an Open Source PHP Content Management System for people who want a
professional website that is easy to maintain. Visit the https://contao.org
for more information.

This is new Long Term Support release which replase existing Contao 3.2
and the last stable release from Contao 3.x series.

Please refer system/docs/CHANGELOG.md in detail.
2015-06-06 03:41:24 +00:00

24 lines
531 B
Text

# $NetBSD: DEINSTALL,v 1.1 2015/06/06 03:41:24 taca Exp $
CT_WEBDIR="@PREFIX@/@CT_WEBDIR@"
CT_DIRS="assets system"
case ${STAGE} in
DEINSTALL)
# remove cache files.
rm -f ${CT_WEBDIR}/assets/css/*.css
rm -f ${CT_WEBDIR}/assets/js/*.js
(cd ${CT_WEBDIR}/system/cache && rm -fr *)
(cd ${CT_WEBDIR}/system/tmp && rm -f *)
;;
POST-DEINSTALL)
(cd ${CT_WEBDIR}
for d in ${CT_DIRS}; do
for s in $d/*; do
${RMDIR} $s >/dev/null 2>&1
done
${RMDIR} $d >/dev/null 2>&1
done)
${RMDIR} ${CT_WEBDIR} >/dev/null 2>&1
;;
esac