[DRE-commits] [gitlab] 14/17: don't fail if the directory exist
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Sat Feb 13 16:42:26 UTC 2016
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository gitlab.
commit 58ebc5700ad2fab962a8346246c2490b5ef9517d
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Sat Feb 13 20:14:10 2016 +0530
don't fail if the directory exist
---
debian/postinst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/postinst b/debian/postinst
index 05685fb..55afc3a 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -44,7 +44,7 @@ case "$1" in
# Create directories and change ownership
for i in ${gitlab_repo_path} ${gitlab_pid_path} ${gitlab_log_dir}\
${gitlab_shell_log}; do
- mkdir $i
+ mkdir -p $i
chown -R ${gitlab_user}: $i
done
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gitlab.git
More information about the Pkg-ruby-extras-commits
mailing list