On Fri, 2009-05-01 at 16:43 -0500, Mario Limonciello wrote: > --- > debian/postinst | 20 ++++++++++++++++++++ > 1 files changed, 20 insertions(+), 0 deletions(-) > create mode 100644 debian/postinst > > diff --git a/debian/postinst b/debian/postinst > new file mode 100644 > index 0000000..ed99520 > --- /dev/null > +++ b/debian/postinst > @@ -0,0 +1,20 @@ > +#! /bin/sh > +set -e > + > +case $1 in > + configure) > + > + # Remove shutdown and reboot links; > + # this init script does not need them. > + if dpkg --compare-versions "$2" lt "2.0.22"; then > + rm -f /etc/rc0.d/K74dkms_autoinstaller \ > + /etc/rc1.d/K74dkms_autoinstaller \ > + /etc/rc6.d/K74dkms_autoinstaller
This violates policy section 9.3.3.1: http://www.debian.org/doc/debian-policy/ch-opersys.html#s9.3.3.1 You must use update-rc.d to update the links. Ben. -- Ben Hutchings No political challenge can be met by shopping. - George Monbiot
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Pkg-dkms-maint mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/pkg-dkms-maint
