[Pkg-nagios-changes] [SCM] Debian packaging of icinga-web branch, master, updated. debian/1.7.1-3-2-g3893334
Markus Frosch
markus at lazyfrosch.de
Thu Aug 2 15:53:28 UTC 2012
The following commit has been merged in the master branch:
commit 3893334be8f97d0f51aca1204c4823a755f58b3a
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