[DRE-commits] [gitlab] 02/02: use mkdir -p

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Fri Jan 15 19:41:39 UTC 2016


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

praveen pushed a commit to branch master-8.4
in repository gitlab.

commit 8c976d2669ca672916b5490d4a69f16f120551a9
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Sat Jan 16 00:53:46 2016 +0530

    use mkdir -p
---
 debian/postinst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/postinst b/debian/postinst
index 5200f3f..1fb0332 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -39,7 +39,7 @@ case "$1" in
 	chown -R ${gitlab_user}: ${gitlab_data_dir}
 
 	chown -R ${gitlab_user}: /usr/share/gitlab-shell
-	su ${gitlab_user} -s /bin/sh -c "mkdir -m 750 ${gitlab_home}/public/uploads"
+	su ${gitlab_user} -s /bin/sh -c "mkdir -p -m 750 ${gitlab_home}/public/uploads"
 	su ${gitlab_user} -s /bin/sh -c 'git config --global core.autocrlf "input"'
 	cd ${gitlab_home}
 	# Show debconf questions

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