Always overwrite private copy of gitlab-debian.conf (to add new entries)

This commit is contained in:
Pirate Praveen 2019-01-06 20:44:18 +05:30 committed by Balasankar C
parent d5fe0f94f1
commit a6c5b7cb89
No known key found for this signature in database
GPG key ID: B77D2E2E23735427

View file

@ -41,7 +41,9 @@ test -f ${gitlab_common_defaults} && . ${gitlab_common_defaults}
# Read debian specific configuration
#######################################################################
test -f ${gitlab_debian_conf_private} || cp ${gitlab_debian_conf_example} ${gitlab_debian_conf_private}
# Always copy the example configuration file in case there are newer entries
# added by maintainer
cp ${gitlab_debian_conf_example} ${gitlab_debian_conf_private}
. ${gitlab_debian_conf_private}
# If /etc/gitlab/gitlab-debian.conf is already present, use it