2012-11-02 20:02:50 +01:00
|
|
|
# $NetBSD: DEINSTALL,v 1.6 2012/11/02 19:02:50 shattered Exp $
|
2004-07-23 21:28:32 +02:00
|
|
|
|
|
|
|
case ${STAGE} in
|
|
|
|
DEINSTALL)
|
2007-10-08 10:47:03 +02:00
|
|
|
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 @WEBMIN_MINIMAL_MODULES@ )
|
|
|
|
fi
|
2006-05-16 06:01:28 +02:00
|
|
|
${RM} -f @PKG_SYSCONFDIR@/module.infos.cache
|
2004-07-23 21:47:21 +02:00
|
|
|
;;
|
2004-07-23 21:28:32 +02:00
|
|
|
esac
|