[Pkg-nagios-changes] [pkg-icinga-web] 02/07: Make sure to delete left over config files
Markus Frosch (old DM Account)
lazyfrosch-guest at moszumanska.debian.org
Sun Oct 26 11:45:46 UTC 2014
This is an automated email from the git hooks/post-receive script.
lazyfrosch-guest pushed a commit to branch master
in repository pkg-icinga-web.
commit be114f05e253dcbaa5e5809cf124e83fea8127ed
Author: Markus Frosch <markus at lazyfrosch.de>
Date: Sun Oct 26 12:10:05 2014 +0100
Make sure to delete left over config files
From before the migration to config packages.
---
debian/icinga-web.postrm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/debian/icinga-web.postrm b/debian/icinga-web.postrm
index bd5926a..88cb3c1 100644
--- a/debian/icinga-web.postrm
+++ b/debian/icinga-web.postrm
@@ -35,6 +35,13 @@ fi
# Delete Configs and other stuff on purge
###
if [ "$1" = "purge" ]; then
+ # make sure to delete left over config file
+ # from before the migration to config packages
+ rm -f /etc/icinga-web/conf.d/database-ido.xml
+ if which ucf >/dev/null; then
+ ucf --purge /etc/icinga-web/conf.d/database-ido.xml
+ fi
+
rm -f /etc/icinga-web/conf.d/database-web.xml
if which ucf >/dev/null; then
ucf --purge /etc/icinga-web/conf.d/database-web.xml
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-icinga-web.git
More information about the Pkg-nagios-changes
mailing list