pkgsrc/sysutils/webmin/files/wbm-deinstall.tmpl
shattered af5aa5c949 Update to 1.600. Closes PR/45066.
Too many changes to list here.
2012-11-02 19:02:50 +00:00

16 lines
480 B
Cheetah

# $NetBSD: wbm-deinstall.tmpl,v 1.2 2012/11/02 19:02:51 shattered Exp $
case "${STAGE}" in
DEINSTALL)
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-uninstalls.pl"; then
( cd ${WEBMIN_DIR} &&
${WEBMIN_DIR}/run-uninstalls.pl ${WBMNAME} )
fi
esac