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