copy gitlab_yml correcly

This commit is contained in:
Praveen Arimbrathodiyil 2017-02-20 18:41:27 +05:30
parent 57f3d06e39
commit 43da0d9f91

2
debian/postinst vendored
View file

@ -138,6 +138,8 @@ EOF
gl_proto="http" gl_proto="http"
# Copy example configurations # Copy example configurations
test -f ${gitlab_yml_private} || \
cp ${gitlab_yml_example} ${gitlab_yml_private}
test -f ${gitlab_shell_config_private} || \ test -f ${gitlab_shell_config_private} || \
cp ${gitlab_shell_config_example} ${gitlab_shell_config_private} cp ${gitlab_shell_config_example} ${gitlab_shell_config_private}