pkgsrc/www/contao34/DEINSTALL
taca 92680924d4 Add contao34 (Contao 3.4.0) package.
Brief summary of new features from Contao 3.3:

* Add supports of SVG and SVGZ images.
* Responsive images support.
* Specify the order of the internal and external style sheets.
* Additional form field classes.
* Asynchronous JavaScript.
* Image links in TinyMCE.
* Active page in the navigation menu.
* Theme export with SQL files.
* Timing attack prevention.
* Login to comment.
* Skip images without meta data.
* Registration and password mails.
* Insert tag link_name.
* DCA flag "doNotTrim".
* Non-negative natural numbers.
* New hooks and callbacks.
2014-11-25 17:07:20 +00:00

24 lines
531 B
Text

# $NetBSD: DEINSTALL,v 1.1 2014/11/25 17:07:20 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