[DRE-commits] [gitlab] 01/01: fix su command argument

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Fri Jan 15 18:48:33 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 6daadc819dbff94e715a26e308052c0988ef0713
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Sat Jan 16 00:18:07 2016 +0530

    fix su command argument
---
 debian/postinst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/postinst b/debian/postinst
index 4405bea..8b2db35 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 -s "mkdir -m 750 ${gitlab_home}/public/uploads"
+	su ${gitlab_user} -s /bin/sh -c "mkdir -m 750 ${gitlab_home}/public/uploads"
 	su ${gitlab_user} -H -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