fix path and remove on purge

This commit is contained in:
Praveen Arimbrathodiyil 2016-06-03 22:11:46 +05:30
parent 1e17fd44c9
commit e23803cc48
2 changed files with 3 additions and 1 deletions

View file

@ -8,7 +8,7 @@ gitlab_yml_private=/var/lib/gitlab/gitlab.yml
gitlab_yml=/etc/gitlab/gitlab.yml gitlab_yml=/etc/gitlab/gitlab.yml
gitlab_debian_conf_private=/var/lib/gitlab/gitlab-debian.conf gitlab_debian_conf_private=/var/lib/gitlab/gitlab-debian.conf
gitlab_debian_conf=/etc/gitlab/gitlab-debian.conf gitlab_debian_conf=/etc/gitlab/gitlab-debian.conf
gitlab_shell_config_private=/var/lib/gitlab-shell-config.yml gitlab_shell_config_private=/var/lib/gitlab/gitlab-shell-config.yml
gitlab_shell_config=/etc/gitlab-shell/config.yml gitlab_shell_config=/etc/gitlab-shell/config.yml
gitlab_nginx_log=/var/log/gitlab gitlab_nginx_log=/var/log/gitlab
gitlab_ssl_path=/etc/gitlab/ssl gitlab_ssl_path=/etc/gitlab/ssl

2
debian/postrm vendored
View file

@ -65,11 +65,13 @@ case "$1" in
test -n "${nginx_site}" && ucf --purge ${nginx_site} test -n "${nginx_site}" && ucf --purge ${nginx_site}
test -n "${gitlab_debian_conf}" && ucf --purge ${gitlab_debian_conf} test -n "${gitlab_debian_conf}" && ucf --purge ${gitlab_debian_conf}
test -n "${gitlab_yml}" && ucf --purge ${gitlab_yml} test -n "${gitlab_yml}" && ucf --purge ${gitlab_yml}
test -n "${gitlab_shell_config}" && ucf -purge ${gitlab_shell_config}
fi fi
if which ucfr >/dev/null; then if which ucfr >/dev/null; then
test -n "${nginx_site}" && ucfr --purge gitlab ${nginx_site} test -n "${nginx_site}" && ucfr --purge gitlab ${nginx_site}
test -n "${gitlab_debian_conf}" && ucfr --purge gitlab ${gitlab_debian_conf} test -n "${gitlab_debian_conf}" && ucfr --purge gitlab ${gitlab_debian_conf}
test -n "${gitlab_yml}" && ucfr --purge gitlab ${gitlab_yml} test -n "${gitlab_yml}" && ucfr --purge gitlab ${gitlab_yml}
test -n "${gitlab_shell_config}" && ucfr -purge gitlab ${gitlab_shell_config}
fi fi
# cleanup complete # cleanup complete