blob: dda35fe8e9c80626260896a4113d7b8daeea9427 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# $NetBSD: wbm-install.tmpl,v 1.1 2007/10/08 08:47:09 obache Exp $
case "${STAGE}" in
POST-INSTALL)
WBMNAME="@WBMNAME@"
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 ${WBMNAME} )
fi
esac
|