aboutsummaryrefslogtreecommitdiff
path: root/sysutils/munin-main/pkg-deinstall
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-11-06 22:52:45 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-11-06 22:52:45 +0000
commitce0bf7c9ea07a82f4e5ed0f4da20e8c77f888790 (patch)
tree57146687564349154955ff2f1f4c1521332727a6 /sysutils/munin-main/pkg-deinstall
parent2946e4e824c75a6f60cae2b39936845657c0b10d (diff)
downloadports-ce0bf7c9ea07a82f4e5ed0f4da20e8c77f888790.tar.gz
ports-ce0bf7c9ea07a82f4e5ed0f4da20e8c77f888790.zip
- Update to 1.2.5
Notes: Please read the UPDATING! PR: ports/105106 Submitted by: Lupe Christoph <lupe@lupe-christoph.de> (maintainer)
Notes
Notes: svn path=/head/; revision=176659
Diffstat (limited to 'sysutils/munin-main/pkg-deinstall')
-rw-r--r--sysutils/munin-main/pkg-deinstall8
1 files changed, 5 insertions, 3 deletions
diff --git a/sysutils/munin-main/pkg-deinstall b/sysutils/munin-main/pkg-deinstall
index 200d96a2a617..c658a8021c00 100644
--- a/sysutils/munin-main/pkg-deinstall
+++ b/sysutils/munin-main/pkg-deinstall
@@ -5,7 +5,7 @@ ask() {
question=$1
default=$2
- if [ -z "${PACKAGE_BUILDING}" ]; then
+ if [ -z "${PACKAGE_BUILDING}" -a -z "${BATCH}" ]; then
read -p "${question} [${default}]? " answer
fi
if [ x${answer} = x ]; then
@@ -107,8 +107,10 @@ Do you want me to delete it?" y; then
case $2 in
DEINSTALL)
- delete_crontab_entries '#BEGIN_MUNIN_MAIN' '#END_MUNIN_MAIN'
- newsyslog
+ if [ -z "${PACKAGE_BUILDING}" ]; then
+ delete_crontab_entries '#BEGIN_MUNIN_MAIN' '#END_MUNIN_MAIN'
+ newsyslog
+ fi
;;
POST-DEINSTALL)
delete_account munin munin