remove debconf questions on purge
This commit is contained in:
parent
26b727b949
commit
9da14d2ba5
2 changed files with 9 additions and 0 deletions
1
debian/changelog
vendored
1
debian/changelog
vendored
|
@ -7,6 +7,7 @@ gitlab (8.8.2+dfsg-1) unstable; urgency=medium
|
||||||
* Check if nginx site configuration directory is present before copying
|
* Check if nginx site configuration directory is present before copying
|
||||||
(Closes: #821085)
|
(Closes: #821085)
|
||||||
* Symlink /run/gitlab/cache to /var/lib/gitlab/cache (or /run gets filled up)
|
* Symlink /run/gitlab/cache to /var/lib/gitlab/cache (or /run gets filled up)
|
||||||
|
* Remove debconf db on purge
|
||||||
|
|
||||||
-- Pirate Praveen <praveen@debian.org> Thu, 02 Jun 2016 22:27:15 +0530
|
-- Pirate Praveen <praveen@debian.org> Thu, 02 Jun 2016 22:27:15 +0530
|
||||||
|
|
||||||
|
|
8
debian/postrm
vendored
8
debian/postrm
vendored
|
@ -64,6 +64,14 @@ case "$1" in
|
||||||
test -n "${gitlab_yml}" && ucfr --purge gitlab ${gitlab_yml}
|
test -n "${gitlab_yml}" && ucfr --purge gitlab ${gitlab_yml}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# purge debconf questions
|
||||||
|
if [ -e /usr/share/debconf/confmodule ]; then
|
||||||
|
# Source debconf library.
|
||||||
|
. /usr/share/debconf/confmodule
|
||||||
|
# Remove my changes to the db.
|
||||||
|
db_purge
|
||||||
|
fi
|
||||||
|
|
||||||
# cleanup complete
|
# cleanup complete
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue