[Pkg-dkms-commits] r41 - dkms/trunk/debian
hanska-guest at alioth.debian.org
hanska-guest at alioth.debian.org
Fri Dec 12 09:11:38 UTC 2008
Author: hanska-guest
Date: 2008-12-12 09:11:38 +0000 (Fri, 12 Dec 2008)
New Revision: 41
Modified:
dkms/trunk/debian/changelog
dkms/trunk/debian/prerm
Log:
* debian/prerm:
- do always do default thing
Modified: dkms/trunk/debian/changelog
===================================================================
--- dkms/trunk/debian/changelog 2008-12-11 17:15:43 UTC (rev 40)
+++ dkms/trunk/debian/changelog 2008-12-12 09:11:38 UTC (rev 41)
@@ -22,7 +22,9 @@
* debian/postinst added
* debian/HOWTO.Debian from Ubuntu package added
* debian/modprobe added
- * debian/prerm: use sed instead of tricky grep hack
+ * debian/prerm:
+ - use sed instead of tricky grep hack
+ - do always do default thing
[ Giuseppe Iuculano ]
* Added myself as Uploader
@@ -35,7 +37,7 @@
removed if it is empty after a removal. This allows the modules directory
to be removed as it becomes empty.
- -- David Paleino <d.paleino at gmail.com> Thu, 11 Dec 2008 18:13:19 +0100
+ -- David Paleino <d.paleino at gmail.com> Fri, 12 Dec 2008 10:11:15 +0100
dkms (2.0.19-0ubuntu2) hardy; urgency=low
Modified: dkms/trunk/debian/prerm
===================================================================
--- dkms/trunk/debian/prerm 2008-12-11 17:15:43 UTC (rev 40)
+++ dkms/trunk/debian/prerm 2008-12-12 09:11:38 UTC (rev 41)
@@ -2,28 +2,15 @@
set -e
-case "$1" in
- remove|deconfigure)
+kconf="/etc/kernel-img.conf"
+hookline="header_postinst_hook = /etc/kernel/postinst.d/dkms"
- kconf="/etc/kernel-img.conf"
- hookline="header_postinst_hook = /etc/kernel/postinst.d/dkms"
-
- if [ -e $kconf ]; then
- if grep -q "$hookline" "$kconf" ; then
- sed -i "\@$hookline at d" "$kconf"
- fi
+if [ -e $kconf ]; then
+ if grep -q "$hookline" "$kconf" ; then
+ sed -i "\@$hookline at d" "$kconf"
fi
- ;;
+fi
- failed-upgrade)
- ;;
-
- *)
- echo "prerm called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
#DEBHELPER#
exit 0
More information about the Pkg-dkms-commits
mailing list