don't fail if the directory exist
This commit is contained in:
parent
3d25ed3b03
commit
58ebc5700a
1 changed files with 1 additions and 1 deletions
2
debian/postinst
vendored
2
debian/postinst
vendored
|
@ -44,7 +44,7 @@ case "$1" in
|
||||||
# Create directories and change ownership
|
# Create directories and change ownership
|
||||||
for i in ${gitlab_repo_path} ${gitlab_pid_path} ${gitlab_log_dir}\
|
for i in ${gitlab_repo_path} ${gitlab_pid_path} ${gitlab_log_dir}\
|
||||||
${gitlab_shell_log}; do
|
${gitlab_shell_log}; do
|
||||||
mkdir $i
|
mkdir -p $i
|
||||||
chown -R ${gitlab_user}: $i
|
chown -R ${gitlab_user}: $i
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue