[Pkg-nagios-changes] [pkg-nagios-plugins] 31/413: add a missing conffile, and add extensions to stuff in the postrms

Jan Wagner waja at moszumanska.debian.org
Tue Nov 26 23:13:03 UTC 2013


This is an automated email from the git hooks/post-receive script.

waja pushed a commit to branch master
in repository pkg-nagios-plugins.

commit 5d6de6010983bd5421567e13328edec0f561b58f
Author: Sean Finney <seanius at debian.org>
Date:   Wed Sep 20 22:09:35 2006 +0000

    add a missing conffile, and add extensions to stuff in the postrms
---
 debian/nagios-plugins-basic.postrm.in    | 4 ++--
 debian/nagios-plugins-standard.postrm.in | 4 ++--
 debian/rules                             | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/debian/nagios-plugins-basic.postrm.in b/debian/nagios-plugins-basic.postrm.in
index 6df65a0..3e85a5d 100644
--- a/debian/nagios-plugins-basic.postrm.in
+++ b/debian/nagios-plugins-basic.postrm.in
@@ -7,9 +7,9 @@ if [ "$1" = "purge" ]; then
 		have_ucf="yes"
 	fi
 	for f in $BASIC_PLUGINS; do
-		rm -f /etc/nagios-plugins/config/$f
+		rm -f /etc/nagios-plugins/config/${f}.cfg
 		if [ "$have_ucf" = "yes" ]; then
-			ucf --purge /etc/nagios-plugins/config/$f 
+			ucf --purge /etc/nagios-plugins/config/${f}.cfg
 		fi
 	done 
 fi
diff --git a/debian/nagios-plugins-standard.postrm.in b/debian/nagios-plugins-standard.postrm.in
index 2b9cbf1..903df45 100644
--- a/debian/nagios-plugins-standard.postrm.in
+++ b/debian/nagios-plugins-standard.postrm.in
@@ -7,9 +7,9 @@ if [ "$1" = "purge" ]; then
 		have_ucf="yes"
 	fi
 	for f in $STD_PLUGINS; do
-		rm -f /etc/nagios-plugins/config/$f
+		rm -f /etc/nagios-plugins/config/${f}.cfg
 		if [ "$have_ucf" = "yes" ]; then
-			ucf --purge /etc/nagios-plugins/config/$f 
+			ucf --purge /etc/nagios-plugins/config/${f}.cfg
 		fi
 	done 
 fi
diff --git a/debian/rules b/debian/rules
index 299a840..0ce0d86 100755
--- a/debian/rules
+++ b/debian/rules
@@ -32,7 +32,7 @@ std_plugins:=check_breeze check_ifoperstatus check_hpjd check_ifstatus \
 basic_plugin_cfgs:=apt dhcp disk dummy ftp http load mail ntp ping procs real \
 	ssh tcp_udp telnet users
 std_plugin_cfgs:=breeze disk-smb dns flexlm fping games hppjd ifstatus ldap \
-	mrtg mysql netware nt pgsql radius rpc-nfs snmp
+	mrtg mysql netware nt pgsql radius rpc-nfs snmp vsz
 
 PATH = /bin:/sbin:/usr/bin:/usr/sbin
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-nagios-plugins.git



More information about the Pkg-nagios-changes mailing list