From ac8071c50c37145960b0d50715eba612c48196e4 Mon Sep 17 00:00:00 2001 From: taca Date: Sun, 23 Jul 2006 13:21:09 +0000 Subject: - 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. --- www/geeklog/DEINSTALL | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) (limited to 'www/geeklog/DEINSTALL') 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 -- cgit v1.2.3