[DRE-commits] [gitlab] 09/16: purge tmpfiles
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Thu Feb 16 12:09:32 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 4d062a0ae932feb7954661be1baeb10369d62670
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Wed Feb 15 13:41:22 2017 +0530
purge tmpfiles
---
debian/postrm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/debian/postrm b/debian/postrm
index e84c2ca..20a580b 100644
--- a/debian/postrm
+++ b/debian/postrm
@@ -53,24 +53,30 @@ case "$1" in
rm -f ${nginx_site}$ext
rm -f ${gitlab_debian_conf}$ext
rm -f ${gitlab_yml}$ext
+ rm -f ${gitlab_tmpfiles}$ext
+ rm -f ${gitlab_shell_config}$ext
done
# remove the configuration file itself
test -f ${nginx_site} && rm -f ${nginx_site}
test -f ${gitlab_debian_conf} && rm -f ${gitlab_debian_conf}
test -f ${gitlab_yml} && rm -f ${gitlab_yml}
+ test -f ${gitlab_tmpfiles} && rm -f ${gitlab_tmpfiles}
+ test -f ${gitlab_shell_config} && rm -f ${gitlab_shell_config}
# and finally clear it out from the ucf database
if which ucf >/dev/null; then
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_tmpfiles}" && ucf --purge ${gitlab_tmpfiles}
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_tmpfiles}" && ucfr --purge gitlab ${gitlab_tmpfiles}
test -n "${gitlab_shell_config}" && ucfr -purge gitlab ${gitlab_shell_config}
fi
--
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