pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/privoxy Execute the extra installation and de-inst...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d209b2eac28b
branches:  trunk
changeset: 463300:d209b2eac28b
user:      agc <agc%pkgsrc.org@localhost>
date:      Wed Nov 05 10:45:29 2003 +0000

description:
Execute the extra installation and de-installation commands in sub-shells,
so that directory changes do not impact the cwd, and de-installation will
complete properly. Problem noticed by Kim.

diffstat:

 www/privoxy/INSTALL |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (25 lines):

diff -r 23cf97d4e8cd -r d209b2eac28b www/privoxy/INSTALL
--- a/www/privoxy/INSTALL       Wed Nov 05 08:22:12 2003 +0000
+++ b/www/privoxy/INSTALL       Wed Nov 05 10:45:29 2003 +0000
@@ -1,16 +1,16 @@
 #!@SH@
 #
-# $NetBSD: INSTALL,v 1.1.1.1 2003/06/16 03:02:04 kim Exp $
+# $NetBSD: INSTALL,v 1.2 2003/11/05 10:45:29 agc Exp $
 
 EGDIR="@EGDIR@"
 
 case "${STAGE}" in
 POST-INSTALL)
-    cd ${PKG_SYSCONFDIR} &&
-    ${LN} -s ${EGDIR}/templates
+    (cd ${PKG_SYSCONFDIR} &&
+    ${LN} -s ${EGDIR}/templates)
     ;;
 DEINSTALL)
-    cd ${PKG_SYSCONFDIR} &&
-    ${RM} -f templates
+    (cd ${PKG_SYSCONFDIR} &&
+    ${RM} -f templates)
     ;;
 esac



Home | Main Index | Thread Index | Old Index