fix path and remove on purge
This commit is contained in:
parent
1e17fd44c9
commit
e23803cc48
2 changed files with 3 additions and 1 deletions
2
debian/conf/gitlab-debian.conf
vendored
2
debian/conf/gitlab-debian.conf
vendored
|
@ -8,7 +8,7 @@ gitlab_yml_private=/var/lib/gitlab/gitlab.yml
|
|||
gitlab_yml=/etc/gitlab/gitlab.yml
|
||||
gitlab_debian_conf_private=/var/lib/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_nginx_log=/var/log/gitlab
|
||||
gitlab_ssl_path=/etc/gitlab/ssl
|
||||
|
|
2
debian/postrm
vendored
2
debian/postrm
vendored
|
@ -65,11 +65,13 @@ case "$1" in
|
|||
test -n "${nginx_site}" && ucf --purge ${nginx_site}
|
||||
test -n "${gitlab_debian_conf}" && ucf --purge ${gitlab_debian_conf}
|
||||
test -n "${gitlab_yml}" && ucf --purge ${gitlab_yml}
|
||||
test -n "${gitlab_shell_config}" && ucf -purge ${gitlab_shell_config}
|
||||
fi
|
||||
if which ucfr >/dev/null; then
|
||||
test -n "${nginx_site}" && ucfr --purge gitlab ${nginx_site}
|
||||
test -n "${gitlab_debian_conf}" && ucfr --purge gitlab ${gitlab_debian_conf}
|
||||
test -n "${gitlab_yml}" && ucfr --purge gitlab ${gitlab_yml}
|
||||
test -n "${gitlab_shell_config}" && ucfr -purge gitlab ${gitlab_shell_config}
|
||||
fi
|
||||
|
||||
# cleanup complete
|
||||
|
|
Loading…
Reference in a new issue