use mkdir -p

This commit is contained in:
Praveen Arimbrathodiyil 2016-01-16 00:53:46 +05:30
parent b171ae4b7d
commit 8c976d2669

2
debian/postinst vendored
View file

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