[Pkg-sympa-commits] [sympa] 02/03: Fix a bug in /etc/sympa/facility conffile handling (#774877)
Emmanuel Bouthenot
kolter at moszumanska.debian.org
Fri Jan 16 19:18:03 UTC 2015
This is an automated email from the git hooks/post-receive script.
kolter pushed a commit to branch master
in repository sympa.
commit c6697b28e131e8393f819c941a1df8a8898c8776
Author: Emmanuel Bouthenot <kolter at openics.org>
Date: Fri Jan 16 02:48:06 2015 +0100
Fix a bug in /etc/sympa/facility conffile handling (#774877)
---
debian/sympa.preinst | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/debian/sympa.preinst b/debian/sympa.preinst
index 6078a51..2747361 100644
--- a/debian/sympa.preinst
+++ b/debian/sympa.preinst
@@ -36,6 +36,16 @@ if which dpkg-maintscript-helper >/dev/null && dpkg-maintscript-helper supports
done
fi
+
+case "$1" in
+ install|upgrade)
+ if dpkg --compare-versions "$2" "<" "6.1.22~dfsg-1"; then
+ # delete sympa facility before managing it as a conffile (#774877)
+ rm -f /etc/sympa/facility
+ fi
+ ;;
+esac
+
#DEBHELPER#
exit 0
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/sympa.git
More information about the Pkg-sympa-commits
mailing list