don't fail if the directory exist

This commit is contained in:
Praveen Arimbrathodiyil 2016-02-13 20:14:10 +05:30
parent 3d25ed3b03
commit 58ebc5700a

2
debian/postinst vendored
View file

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