Browse Source

debian/postrm: remove /etc/cron.d/popularity-contest on purge

master popcon-1.64
Bill Allombert 6 years ago
parent
commit
6d3b2006e8
  1. 2
      debian/changelog
  2. 2
      debian/postrm

2
debian/changelog

@ -2,6 +2,8 @@ popularity-contest (1.64) unstable; urgency=low
* debian/dirs:
- ship /etc/cron.d. Closes: #798941
* debian/postrm:
- remove /etc/cron.d/popularity-contest on purge
-- Bill Allombert <ballombe@debian.org> Tue, 15 Sep 2015 16:30:57 +0200

2
debian/postrm

@ -4,7 +4,7 @@ set -e
# purge the config file which is created in the postinst script
if [ "$1" = purge ] ; then
rm -f /etc/popularity-contest.conf
rm -f /etc/popularity-contest.conf /etc/cron.d/popularity-contest
fi
if [ "$1" = "purge" ] && [ -e /usr/share/debconf/confmodule ]; then

Loading…
Cancel
Save