summaryrefslogtreecommitdiff
path: root/sysutils/webmin/INSTALL
blob: 59f3c3d86f755d578310483fb1401a424fa7e5b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# $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