Attaching so exchange doesn't mangle From 868c3a6149384a11d81ff4820667f17f8851de62 Mon Sep 17 00:00:00 2001 From: Mario Limonciello <[email protected]> Date: Fri, 1 May 2009 16:27:54 -0500 Subject: [PATCH] Cleanup any old shutdown links using a postinst
--- debian/postinst | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) create mode 100644 debian/postinst -- Mario Limonciello *Dell | Linux Engineering* [email protected]
From 868c3a6149384a11d81ff4820667f17f8851de62 Mon Sep 17 00:00:00 2001 From: Mario Limonciello <[email protected]> Date: Fri, 1 May 2009 16:27:54 -0500 Subject: [PATCH] Cleanup any old shutdown links using a postinst --- 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 + fi + ;; +esac + +#DEBHELPER# + +exit 0 + -- 1.6.0.4
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Pkg-dkms-maint mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/pkg-dkms-maint
