Always overwrite private copy of gitlab-debian.conf (to add new entries)
This commit is contained in:
parent
1cd5c5eea5
commit
0f44086194
1 changed files with 3 additions and 1 deletions
4
debian/gitlab.postinst
vendored
4
debian/gitlab.postinst
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue