[Pkg-voip-commits] [resiprocate] 11/14: Let dh_installdirs create var/lib/repro

Daniel Pocock pocock at moszumanska.debian.org
Sun Jan 12 10:44:38 UTC 2014


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

pocock pushed a commit to branch master
in repository resiprocate.

commit 90e6f8f8b32b3e986bddf658c1121ee958aa2432
Author: Daniel Pocock <daniel at pocock.com.au>
Date:   Sun Jan 12 09:32:50 2014 +0100

    Let dh_installdirs create var/lib/repro
---
 debian/repro.dirs     | 1 +
 debian/repro.postinst | 8 ++------
 2 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/debian/repro.dirs b/debian/repro.dirs
index 3aebbf7..c6a54b3 100644
--- a/debian/repro.dirs
+++ b/debian/repro.dirs
@@ -1,2 +1,3 @@
 etc/repro/ssl
 usr/share/doc/repro/examples/pyroute
+var/lib/repro
diff --git a/debian/repro.postinst b/debian/repro.postinst
index f175f31..dd4d626 100644
--- a/debian/repro.postinst
+++ b/debian/repro.postinst
@@ -39,12 +39,8 @@ install() {
                "$REPRO_USER" || exit 1
     fi
 
-    if [ ! -d ${REPRO_HOME} ];
-    then
-        mkdir -p ${REPRO_HOME} || exit 1
-        chown ${REPRO_USER}:${REPRO_GROUP} "${REPRO_HOME}"
-        chmod 0700 "${REPRO_HOME}"
-    fi
+    chown ${REPRO_USER}:${REPRO_GROUP} "${REPRO_HOME}"
+    chmod 0700 "${REPRO_HOME}"
 
 }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/resiprocate.git



More information about the Pkg-voip-commits mailing list