[DRE-commits] [diaspora] 179/257: don't fail if directory exist

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Sun Apr 12 14:17:22 UTC 2015


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

praveen pushed a commit to branch master
in repository diaspora.

commit 50f5346725bfb8fb0c6b2dff4365c62510f5b77a
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Fri Nov 28 17:30:48 2014 +0530

    don't fail if directory exist
---
 debian/postinst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/postinst b/debian/postinst
index 0f544ff..9f8f0f3 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -39,7 +39,7 @@ case "$1" in
 
 	/usr/lib/diaspora/scripts/adduser.sh
 	/usr/lib/diaspora/scripts/grantpriv.sh
-	mkdir /var/log/diaspora
+	mkdir -p /var/log/diaspora
 	chown -R diaspora: /usr/share/diaspora
 	cd /usr/share/diaspora
 	echo "Installing gems with rubygems (their debian packages have bugs)..."

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/diaspora.git



More information about the Pkg-ruby-extras-commits mailing list