summaryrefslogtreecommitdiff
path: root/www/privoxy
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2003-11-05 10:45:29 +0000
committeragc <agc@pkgsrc.org>2003-11-05 10:45:29 +0000
commitea57b983e7fd2f2e378c5615e76e48e4d9d8c97b (patch)
tree7584ca1d2b796d58368e29f3f8ee02a0b920280b /www/privoxy
parent03996cfbda88bd4a8f602e8a4e79510d19bf9e62 (diff)
downloadpkgsrc-ea57b983e7fd2f2e378c5615e76e48e4d9d8c97b.tar.gz
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 (limited to 'www/privoxy')
-rw-r--r--www/privoxy/INSTALL10
1 files changed, 5 insertions, 5 deletions
diff --git a/www/privoxy/INSTALL b/www/privoxy/INSTALL
index 751404e374c..5ca5a7d8cdb 100644
--- a/www/privoxy/INSTALL
+++ b/www/privoxy/INSTALL
@@ -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