[Pkg-nagios-changes] [SCM] Debian packaging of icinga-web branch, wheezy, updated. debian/1.7.1-3-2-g5e9f05c
Markus Frosch
markus at lazyfrosch.de
Thu Aug 2 15:56:49 UTC 2012
The following commit has been merged in the wheezy branch:
commit 3b184daebe35949608f70f5a883419fedad40868
Author: Markus Frosch <markus at lazyfrosch.de>
Date: Thu Aug 2 17:53:22 2012 +0200
fixed postrm to avoid breaking on non installed ucf dependency
diff --git a/debian/icinga-web.postrm b/debian/icinga-web.postrm
index 433d5d1..0b83990 100644
--- a/debian/icinga-web.postrm
+++ b/debian/icinga-web.postrm
@@ -31,9 +31,11 @@ fi
###
if [ "$1" = "purge" ]; then
rm -f /etc/icinga-web/conf.d/database-web.xml
- ucf --purge /etc/icinga-web/conf.d/database-web.xml
rm -f /etc/icinga-web/conf.d/database-ido.xml
- ucf --purge /etc/icinga-web/conf.d/database-ido.xml
+ if which ucf >/dev/null; then
+ ucf --purge /etc/icinga-web/conf.d/database-web.xml
+ ucf --purge /etc/icinga-web/conf.d/database-ido.xml
+ fi
rm -rf /var/cache/icinga-web
rm -rf /var/log/icinga-web
db_purge
--
Debian packaging of icinga-web
More information about the Pkg-nagios-changes
mailing list