d4b8ed0a79
Contao 3.3 is new stable release of Contao Open Source CMS. Some new features from Contao 3.2: * Added a markdown content element. * Added the insert tag flags "urlencode" and "rawurlencode". * Add a flexible back end theme. * Add DropZone-based file uploader. * Add permissions to import and export themes. * Allow to override the default templates of module, content element and form firld. * Add version control for editable files. * Add template inheritance and template insertion. * Make the title tag configurable in the page layout. * Mark the beginning and end of each template in debug mode. * Add support of SCSS/LESS files as external style sheets to page layout. * Make the file system synchronization available on the command line.
24 lines
531 B
Text
24 lines
531 B
Text
# $NetBSD: DEINSTALL,v 1.1 2014/05/27 15:41:27 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
|