pkgsrc/www/privoxy/INSTALL
agc ea57b983e7 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.
2003-11-05 10:45:29 +00:00

16 lines
260 B
Text

#!@SH@
#
# $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)
;;
DEINSTALL)
(cd ${PKG_SYSCONFDIR} &&
${RM} -f templates)
;;
esac