diff --git a/debian/postinst b/debian/postinst index 6dd388a7c0..4bd0b8ca2d 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"