Browse Source

add 'set -e' to preinst and postrm.

suites/ascii popcon-1.47
Bill Allombert 13 years ago
parent
commit
5fb5fce111
  1. 4
      debian/changelog
  2. 2
      debian/postrm
  3. 2
      debian/preinst

4
debian/changelog

@ -12,8 +12,10 @@ popularity-contest (1.47) unstable; urgency=low
- Updated to reflect move to /etc/cron.daily. Closes: #500431
Thanks William Dode.
* FAQ: Fix typo reported by Raphael Geissert. Closes: #496605
* debian/preinst, debian/postrm:
- Add 'set -e'.
-- Bill Allombert <ballombe@debian.org> Thu, 19 Feb 2009 21:22:53 +0100
-- Bill Allombert <ballombe@debian.org> Fri, 20 Feb 2009 11:33:21 +0100
popularity-contest (1.46) unstable; urgency=low

2
debian/postrm

@ -1,5 +1,7 @@
#!/bin/sh
set -e
# purge the config file which is created in the postinst script
if [ "$1" = purge ] ; then
rm -f /etc/popularity-contest.conf

2
debian/preinst

@ -1,5 +1,7 @@
#!/bin/sh
set -e
case "$1" in
install|upgrade)
# Move a conffile without triggering a dpkg question if it was not modified.

Loading…
Cancel
Save