[Pkg-sympa-commits] [sympa] 19/28: Run newaliases on purge after removing sympa aliases

Emmanuel Bouthenot kolter at moszumanska.debian.org
Wed Jun 11 21:53:03 UTC 2014


This is an automated email from the git hooks/post-receive script.

kolter pushed a commit to branch master
in repository sympa.

commit 76b17233fc35ec41fb14bb60d59c18f0040145b2
Author: Emmanuel Bouthenot <kolter at openics.org>
Date:   Sat May 24 14:43:42 2014 +0200

    Run newaliases on purge after removing sympa aliases
---
 debian/sympa.postrm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/sympa.postrm b/debian/sympa.postrm
index d3b114a..c41d063 100644
--- a/debian/sympa.postrm
+++ b/debian/sympa.postrm
@@ -58,7 +58,8 @@ if [ "$1" = "purge" ]; then
 	rm -f /etc/sympa/wwsympa.conf
 
 	# Remove sympa aliases
-	rm -f /etc/sympa/aliases /etc/sympa/aliases.db
+	rm -f /etc/mail/sympa/aliases /etc/mail/sympa/aliases.db
+	newaliases || true
 
 	# Try to remove if empty
 	rmdir /etc/sympa 2>/dev/null || true

-- 
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