[Pkg-sympa-commits] [sympa] 20/28: Tiny improvements while creating /etc/mail/sympa directory

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 6d232858b7e6106d0ac2b3c7e41b3bb96b9aca70
Author: Emmanuel Bouthenot <kolter at openics.org>
Date:   Tue Jun 10 00:05:21 2014 +0200

    Tiny improvements while creating /etc/mail/sympa directory
---
 debian/sympa.dirs     | 2 +-
 debian/sympa.postinst | 3 ---
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/debian/sympa.dirs b/debian/sympa.dirs
index ab11cbe..98f4c5a 100644
--- a/debian/sympa.dirs
+++ b/debian/sympa.dirs
@@ -1,4 +1,4 @@
-etc/mail
+etc/mail/sympa
 etc/apache2/conf-available
 etc/rsyslog.d
 usr/share/doc/sympa/examples/script
diff --git a/debian/sympa.postinst b/debian/sympa.postinst
index 69731bf..b29eefa 100644
--- a/debian/sympa.postinst
+++ b/debian/sympa.postinst
@@ -161,9 +161,6 @@ fi
 # Moving alias files to a destination where SYMPA can write
 # and create the db alias file with the right permissions
 # from /etc/mail/sympa.aliases to /etc/mail/sympa/aliases
-if [ ! -d /etc/mail/sympa ]; then
-	mkdir -p /etc/mail/sympa
-fi
 if [ -d /etc/mail/sympa ]; then
 	chown sympa:sympa /etc/mail/sympa
 	for ext in '' '.db' ; do

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