Bug#297174: reopen 285779

Michael Biebl biebl at debian.org
Wed Mar 14 10:56:11 CET 2007


reopen 285779 354445
thanks

Despite this changelog:

   * Removed powerbutton scripts - these are contained in other packages
     (Closes: #354445, #285779)

this bug is apparently not fixed, because it doesn't handle the upgrade
case. You should check in preinst, by comparing the md5sums of the
installed file and the one recorded in /var/lib/dpkg/info, if the file
has been modified.
If not, delete it, otherwise rename it to *.dpkg-bak.
(You can check the maintainer scripts of the upstart package [1] to see
how this can be done)
And instead of dropping it completetly, you could ship as example in
/usr/share/doc/acpid/examples.

Cheers,
Michael

[1] http://ftp.debian.org/debian/pool/main/u/upstart/upstart_0.3.8-1.diff.gz

upstart-compat-sysv.p* contains the necessary bits.




More information about the Pkg-exim4-maintainers mailing list