Make yarn.lock writable

This commit is contained in:
Utkarsh Gupta 2019-05-18 16:23:43 +05:30
parent db6e4bc45c
commit d8e0908633

View file

@ -126,6 +126,9 @@ case "$1" in
chown ${gitlab_user}: $i
done
# Make yarn.lock writable
chown ${gitlab_user}: /var/lib/gitlab/yarn.lock
runuser -u ${gitlab_user} -- sh -c "chmod 700 ${gitlab_uploads_path}"
runuser -u ${gitlab_user} -- sh -c 'git config --global core.autocrlf "input"'