[Pkg-sympa-commits] [sympa] 03/07: Minor fixes in preinst and prerm
Emmanuel Bouthenot
kolter at moszumanska.debian.org
Fri Nov 25 19:29:48 UTC 2016
This is an automated email from the git hooks/post-receive script.
kolter pushed a commit to branch master
in repository sympa.
commit f7db266d2954835125b19e6b4406c37fbdd29603
Author: Emmanuel Bouthenot <kolter at openics.org>
Date: Fri Nov 25 11:28:44 2016 +0100
Minor fixes in preinst and prerm
---
debian/sympa.preinst | 14 +++++++-------
debian/sympa.prerm | 12 ++++++------
2 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/debian/sympa.preinst b/debian/sympa.preinst
index 7cc70fa..da916d1 100644
--- a/debian/sympa.preinst
+++ b/debian/sympa.preinst
@@ -21,19 +21,19 @@ fi
# /etc/sympa/data_structure.version.debian-old so that it will be possible to
# run sympa upgrade tool in postinst script with the right version
if [ -f /etc/sympa/data_structure.version ] && [ ! -f /etc/sympa/data_structure.version.debian-old ]; then
- cp /etc/sympa/data_structure.version /etc/sympa/data_structure.version.debian-old
+ cp /etc/sympa/data_structure.version /etc/sympa/data_structure.version.debian-old
fi
if which dpkg-maintscript-helper >/dev/null && dpkg-maintscript-helper supports rm_conffile ; then
- dpkg-maintscript-helper rm_conffile /etc/sympa/data_structure.version \
- "6.1.11~dfsg-1~" -- "$@"
+ dpkg-maintscript-helper rm_conffile /etc/sympa/data_structure.version \
+ "6.1.11~dfsg-1~" -- "$@"
fi
# Remove conffiles used by apache2 < 2.4
if which dpkg-maintscript-helper >/dev/null && dpkg-maintscript-helper supports rm_conffile ; then
- for i in apache apache-soap httpd.conf-cgi httpd.conf-fcgi ; do
- dpkg-maintscript-helper rm_conffile "/etc/sympa/${i}" \
- "6.1.17~dfsg-1~" -- "$@"
- done
+ for i in apache apache-soap httpd.conf-cgi httpd.conf-fcgi ; do
+ dpkg-maintscript-helper rm_conffile "/etc/sympa/${i}" \
+ "6.1.17~dfsg-1~" -- "$@"
+ done
fi
diff --git a/debian/sympa.prerm b/debian/sympa.prerm
index f20a345..4198197 100644
--- a/debian/sympa.prerm
+++ b/debian/sympa.prerm
@@ -7,21 +7,21 @@
set -e
if [ -f /usr/share/debconf/confmodule ]; then
- . /usr/share/debconf/confmodule
+ . /usr/share/debconf/confmodule
fi
if [ -f /usr/share/dbconfig-common/dpkg/prerm ]; then
- . /usr/share/dbconfig-common/dpkg/prerm
- dbc_go sympa $@
+ . /usr/share/dbconfig-common/dpkg/prerm
+ dbc_go sympa $@
fi
if [ "$1" = "remove" ]; then
- rm -f /etc/mail/smrsh/bouncequeue /etc/mail/smrsh/queue
+ rm -f /etc/mail/smrsh/bouncequeue /etc/mail/smrsh/queue
fi
if which dpkg-maintscript-helper >/dev/null && dpkg-maintscript-helper supports rm_conffile ; then
- dpkg-maintscript-helper rm_conffile /etc/sympa/data_structure.version \
- "6.1.11~dfsg-1~" -- "$@"
+ dpkg-maintscript-helper rm_conffile /etc/sympa/data_structure.version \
+ "6.1.11~dfsg-1~" -- "$@"
fi
#DEBHELPER#
--
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