diff options
author | taca <taca@pkgsrc.org> | 2008-12-15 03:05:11 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2008-12-15 03:05:11 +0000 |
commit | 8ee6f7948d8961ed170e455bc8c740b33824b4d5 (patch) | |
tree | b330b77d84528535dcaf051296b61fad46339582 /www/typolight | |
parent | da4f3a8f93ff55e25fdd52e6f7b1e3cafae28c39 (diff) | |
download | pkgsrc-8ee6f7948d8961ed170e455bc8c740b33824b4d5.tar.gz |
Fix DEINSTALL script not to display such useless messages.
rmdir: /usr/pkg/share/httpd/typolight/system/config: Directory not empty
rmdir: /usr/pkg/share/httpd/typolight/system: Directory not empty
Bump PKGREVISION.
Diffstat (limited to 'www/typolight')
-rw-r--r-- | www/typolight/DEINSTALL | 15 | ||||
-rw-r--r-- | www/typolight/Makefile | 3 |
2 files changed, 8 insertions, 10 deletions
diff --git a/www/typolight/DEINSTALL b/www/typolight/DEINSTALL index f22f4599e67..8e174c73ec7 100644 --- a/www/typolight/DEINSTALL +++ b/www/typolight/DEINSTALL @@ -1,6 +1,8 @@ -# $NetBSD: DEINSTALL,v 1.1 2008/11/06 11:23:14 taca Exp $ +# $NetBSD: DEINSTALL,v 1.2 2008/12/15 03:05:11 taca Exp $ TL_WEBDIR="@PREFIX@/@TL_WEBDIR@" +TL_DIRS="templates system/drivers system/libraries system/logs \ + system/modules system/themes system/config system" case ${STAGE} in DEINSTALL) @@ -8,13 +10,8 @@ DEINSTALL) -exec ${RM} -f {} \; ;; POST-DEINSTALL) - ${RMDIR} ${TL_WEBDIR}/templates 2>/dev/null - ${RMDIR} ${TL_WEBDIR}/system/drivers 2>/dev/null - ${RMDIR} ${TL_WEBDIR}/system/libraries - ${RMDIR} ${TL_WEBDIR}/system/logs - ${RMDIR} ${TL_WEBDIR}/system/modules - ${RMDIR} ${TL_WEBDIR}/system/themes 2>/dev/null - ${RMDIR} ${TL_WEBDIR}/system/config - ${RMDIR} -p ${TL_WEBDIR}/system + for d in ${TL_DIRS} ${TL_WEBDIR}; do + ${RMDIR} $d >/dev/null 2>&1 + done ;; esac diff --git a/www/typolight/Makefile b/www/typolight/Makefile index 7a92405379b..406298e3784 100644 --- a/www/typolight/Makefile +++ b/www/typolight/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.8 2008/12/14 00:22:46 taca Exp $ +# $NetBSD: Makefile,v 1.9 2008/12/15 03:05:11 taca Exp $ # DISTNAME= typolight-${TL_VERSION} +PKGREVISION= 1 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=typolight/} |