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

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Fri Jan 15 18:45:12 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 5b3d8719ea5619fc471af84406828d0459c56366
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Sat Jan 16 00:09:19 2016 +0530

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

diff --git a/debian/postinst b/debian/postinst
index 98bba75..4405bea 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 -s "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