~ubuntu-branches/ubuntu/precise/dspam/precise

« back to all changes in this revision

Viewing changes to debian/dspam-webfrontend.postinst

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2012-02-13 10:39:34 UTC
  • Revision ID: package-import@ubuntu.com-20120213103934-lpi4t6iw6zgcnagz
Tags: 3.10.1+dfsg-3ubuntu1
Use maintscript support in dh_installdeb rather than writing out
dpkg-maintscript-helper commands by hand.  We now simply Pre-Depend on a
new enough version of dpkg rather than using 'dpkg-maintscript-helper
supports' guards, leading to more predictable behaviour on upgrades.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
    ;;
34
34
esac
35
35
 
36
 
# Remove old conffiles
37
 
if dpkg-maintscript-helper supports rm_conffile >/dev/null 2>&1; then
38
 
    dpkg-maintscript-helper rm_conffile /etc/dspam/dspam-apache.conf 3.9.1~rc1+git20110419.29261fb+dfsg-2 -- "$@"
39
 
    dpkg-maintscript-helper rm_conffile /etc/dspam/dspam-apache2.conf 3.9.1~rc1+git20110419.29261fb+dfsg-2 -- "$@"
40
 
fi
41
 
 
42
36
#DEBHELPER#
43
37
 
44
38
exit 0