c88f2509d7
Contao Open Source CMS. Contao is an Open Source Content Management Framework developed by Leo Feyer and distributed under the LGPL license (see GPL.txt and LGPL.txt for more information). It was formerly known as TYPOlight Open Source CMS. Its open architecture allows everybody to extend the system to fit his needs. Contao specializes in accessible websites and is accessbile itself (front end and back end), rendering valid HTML5 or XHTML pages.
24 lines
531 B
Text
24 lines
531 B
Text
# $NetBSD: DEINSTALL,v 1.1 2013/11/21 16:52:43 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
|