pkgsrc/sysutils/webmin/INSTALL
obache 9db02f94ae Make sure to run all modules' postinstall script and standard module's
uninstall script.

Affected modules are standard modules (acl, cron) and apache module.
Bump PKGREVISION.
2007-10-08 08:47:03 +00:00

16 lines
467 B
Text

# $NetBSD: INSTALL,v 1.1 2007/10/08 08:47:05 obache Exp $
case ${STAGE} in
POST-INSTALL)
WEBMIN_DIR="@WEBMIN_DIR@"
WEBMIN_CONFIG="${PKG_SYSCONFDIR}"
WEBMIN_VAR="@WEBMIN_VARDIR@"
${TEST} ! -f "${WEBMIN_CONFIG}/var-path" ||
WEBMIN_VAR=`${CAT} ${WEBMIN_CONFIG}/var-path`
export WEBMIN_CONFIG WEBMIN_VAR
if ${TEST} -x "${WEBMIN_DIR}/run-postinstalls.pl"; then
( cd ${WEBMIN_DIR} &&
${WEBMIN_DIR}/run-postinstalls.pl @WEBMIN_MINIMAL_MODULES@ )
fi
;;
esac