[Pkg-nagios-changes] [pkg-nagios] r1982 - nagiosgrapher/trunk/debian
Alexander Reichle-Schmehl
tolimar at alioth.debian.org
Sat Dec 3 12:22:06 UTC 2011
tags 639279 pending
thanks
Author: tolimar
Date: 2011-12-03 12:22:06 +0000 (Sat, 03 Dec 2011)
New Revision: 1982
Modified:
nagiosgrapher/trunk/debian/changelog
nagiosgrapher/trunk/debian/postrm.in
Log:
Call ucf conditionally in ucf
Modified: nagiosgrapher/trunk/debian/changelog
===================================================================
--- nagiosgrapher/trunk/debian/changelog 2011-12-03 12:14:17 UTC (rev 1981)
+++ nagiosgrapher/trunk/debian/changelog 2011-12-03 12:22:06 UTC (rev 1982)
@@ -2,8 +2,9 @@
* NOT RELEASED YET
* Update maintainer list
+ * Call ucf in postrm conditionally (Closes: #639279)
- -- Alexander Reichle-Schmehl <tolimar at debian.org> Sat, 03 Dec 2011 13:03:50 +0100
+ -- Alexander Reichle-Schmehl <tolimar at debian.org> Sat, 03 Dec 2011 13:21:09 +0100
nagiosgrapher (1.7.1-2.1) unstable; urgency=medium
Modified: nagiosgrapher/trunk/debian/postrm.in
===================================================================
--- nagiosgrapher/trunk/debian/postrm.in 2011-12-03 12:14:17 UTC (rev 1981)
+++ nagiosgrapher/trunk/debian/postrm.in 2011-12-03 12:22:06 UTC (rev 1982)
@@ -30,13 +30,17 @@
esac
if [ "$1" = "purge" ]; then
- for cfg in $CFGS; do
- ucf --purge /etc/nagiosgrapher/$cfg
+ for cfg in $CFGS; do
+ if [-x /usr/bin/ucf ] ; then
+ ucf --purge /etc/nagiosgrapher/$cfg
+ fi
rm -f /etc/nagiosgrapher/$cfg
done
for tmpl in $TMPL_CFGS; do
- ucf --purge /etc/nagiosgrapher/ngraph.d/$tmpl
+ if [ -x /usr/bin/ucf ] ; then
+ ucf --purge /etc/nagiosgrapher/ngraph.d/$tmpl
+ fi
rm -f /etc/nagiosgrapher/ngraph.d/$tmpl
done
fi
More information about the Pkg-nagios-changes
mailing list