aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/nagios/files/pkg-deinstall.in
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/nagios/files/pkg-deinstall.in')
-rw-r--r--net-mgmt/nagios/files/pkg-deinstall.in22
1 files changed, 0 insertions, 22 deletions
diff --git a/net-mgmt/nagios/files/pkg-deinstall.in b/net-mgmt/nagios/files/pkg-deinstall.in
deleted file mode 100644
index 6b20aa9bc962..000000000000
--- a/net-mgmt/nagios/files/pkg-deinstall.in
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-
-NAGIOSDIR=%%NAGIOSDIR%%
-NAGIOSUSER=%%NAGIOSUSER%%
-NAGIOSGROUP=%%NAGIOSGROUP%%
-
-if [ "$2" = "POST-DEINSTALL" ]; then
- if /usr/sbin/pw group show "${NAGIOSGROUP}" 2>&1 >/dev/null; then
- echo "You should manually remove the \"${NAGIOSGROUP}\" group."
- fi
-
- if /usr/sbin/pw user show "${NAGIOSUSER}" 2>&1 >/dev/null; then
- echo "You should manually remove the \"${NAGIOSUSER}\" user."
- fi
-
- if [ -e "${NAGIOSDIR}" ]; then
- echo "You should manually remove the \"${NAGIOSDIR}\" directory."
- fi
-fi