summaryrefslogtreecommitdiff
path: root/www/geeklog/DEINSTALL
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2006-07-23 13:21:09 +0000
committertaca <taca@pkgsrc.org>2006-07-23 13:21:09 +0000
commitac8071c50c37145960b0d50715eba612c48196e4 (patch)
tree607ae25f584735db6e1e3017b595466bb0c9c4de /www/geeklog/DEINSTALL
parent118a96b392684a9836213babcc162c03846e982d (diff)
downloadpkgsrc-ac8071c50c37145960b0d50715eba612c48196e4.tar.gz
- Fix bad handling of some cofiguration files noted by ghen@ behalf of
pkgsrc release engineering team. - Keep current directory with DEINSTALL and INSTALL script. - remove extra processing with POST-DEINSTALL action from DEINSTALL script. - Suggest use of additional graphic package. - Add APACHE_GROUP to BUILD_DEFS. - install ${GEEKLOG_EXAMPLESDIR}/createdb.php with INSTALL_SCRIPT. Bump PKGREVISION.
Diffstat (limited to 'www/geeklog/DEINSTALL')
-rw-r--r--www/geeklog/DEINSTALL18
1 files changed, 3 insertions, 15 deletions
diff --git a/www/geeklog/DEINSTALL b/www/geeklog/DEINSTALL
index 2f579cd6b77..ef3da7015d5 100644
--- a/www/geeklog/DEINSTALL
+++ b/www/geeklog/DEINSTALL
@@ -1,4 +1,4 @@
-# $NetBSD: DEINSTALL,v 1.2 2006/06/18 08:34:05 taca Exp $
+# $NetBSD: DEINSTALL,v 1.3 2006/07/23 13:21:09 taca Exp $
GEEKLOG_DIR="@GEEKLOG_DIR@"
GEEKLOG_EXAMPLESDIR="@GEEKLOG_EXAMPLESDIR@"
@@ -8,7 +8,7 @@ GEEKLOG_TMPL_DIR="@GEEKLOG_TMPL_DIR@"
case ${STAGE} in
DEINSTALL)
- cd ${GEEKLOG_TMPL_DIR}
+ (cd ${GEEKLOG_TMPL_DIR}
${FIND} ${GEEKLOG_TMPL_SUB} -type f -print | \
while read f; do
file="${GEEKLOG_PUBDIR}/$f"
@@ -49,19 +49,7 @@ DEINSTALL)
${ECHO} ""
${ECHO} "==========================================================================="
fi
- ;;
-
-POST-DEINSTALL)
- ${RMDIR} -p ${GEEKLOG_DIR} 2>/dev/null
- if ${TEST} -d ${GEEKLOG_DIR}; then
- ${ECHO} "==========================================================================="
- ${ECHO} "The following directories are no longer being used by ${PKGNAME},"
- ${ECHO} "and they can be removed if no other packages are using them:"
- ${ECHO} ""
- ${ECHO} " ${GEEKLOG_DIR}"
- ${ECHO} ""
- ${ECHO} "==========================================================================="
- fi
+ )
;;
esac