diff options
author | agc <agc@pkgsrc.org> | 2003-11-05 10:45:29 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2003-11-05 10:45:29 +0000 |
commit | 03524df72c76af2f11e9039ec14a1b41d8295ecc (patch) | |
tree | 7584ca1d2b796d58368e29f3f8ee02a0b920280b | |
parent | 14f3e74e2ba39f103279c5875e085cc7c6256181 (diff) | |
download | pkgsrc-03524df72c76af2f11e9039ec14a1b41d8295ecc.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.
-rw-r--r-- | www/privoxy/INSTALL | 10 |
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 |