pkgsrc/www/contao29/DEINSTALL
taca ab38791b10 Importing Contao Open Source CMS 2.9.0 as www/contao29.
Its Name has changed from TYPOlight to Contao:
	http://www.contao.org/news/items/typolight-becomes-contao.html

Basically, the name of sofware, domain, backend URL are changed.

* Introduce themse support:
	http://www.contao.org/themes.html
* Extension Repositroy 2.0.
* Templage group.
* Share on Facebook and Twitters.

For more information, please refer:
	 http://www.contao.org/news/items/contao-2_9_0.html.
2010-07-05 14:45:21 +00:00

22 lines
607 B
Text

# $NetBSD: DEINSTALL,v 1.1.1.1 2010/07/05 14:45:21 taca Exp $
CT_WEBDIR="@PREFIX@/@CT_WEBDIR@"
CT_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} ${CT_WEBDIR}/system/html -type f ! -name index.html \
-exec ${RM} -f {} \;
${FIND} ${CT_WEBDIR}/plugins/tcpdf/cache -type f ! -name .htaccess \
-exec ${RM} -f {} \;
;;
POST-DEINSTALL)
(cd ${CT_WEBDIR}
for d in ${CT_DIRS}; do
${RMDIR} $d >/dev/null 2>&1
done)
${RMDIR} ${CT_WEBDIR} >/dev/null 2>&1
;;
esac