[DRE-commits] [gitlab] 04/04: always install example configs
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Tue Sep 12 12:39:53 UTC 2017
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository gitlab.
commit db39333642e0dd2093c02473cbff71c011772fe4
Author: Pirate Praveen <praveen at debian.org>
Date: Tue Sep 12 18:08:23 2017 +0530
always install example configs
---
debian/postinst | 4 ----
1 file changed, 4 deletions(-)
diff --git a/debian/postinst b/debian/postinst
index 6dd388a..4bd0b8c 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -47,7 +47,6 @@ gitlab_debian_defaults_copy=/var/lib/gitlab/gitlab-debian.defaults
# Bootstrap config file - first try
. ${gitlab_debian_conf_example}
# second try
-test -f ${gitlab_debian_conf_private} || \
cp ${gitlab_debian_conf_example} ${gitlab_debian_conf_private}
. ${gitlab_debian_conf_private}
@@ -185,9 +184,7 @@ case "$1" in
mv -f ${gitlab_debian_conf_private}.tmp ${gitlab_debian_conf_private}
# Copy example configurations
- test -f ${gitlab_yml_private} || \
cp ${gitlab_yml_example} ${gitlab_yml_private}
- test -f ${gitlab_shell_config_private} || \
cp ${gitlab_shell_config_example} ${gitlab_shell_config_private}
# Set gitlab user first time
@@ -260,7 +257,6 @@ case "$1" in
fi
# Manage tmpfiles.d/gitlab.conf via ucf
- test -f ${gitlab_tmpfiles_private} || \
cp ${gitlab_tmpfiles_example} ${gitlab_tmpfiles_private}
sed -i "s/GITLAB_USER/${gitlab_user}/" ${gitlab_tmpfiles_private}
echo "Registering ${gitlab_tmpfiles} via ucf"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gitlab.git
More information about the Pkg-ruby-extras-commits
mailing list