[Pkg-dkms-commits] r20 - dkms/trunk/debian
derevko-guest at alioth.debian.org
derevko-guest at alioth.debian.org
Tue Dec 2 18:04:51 UTC 2008
Author: derevko-guest
Date: 2008-12-02 18:04:51 +0000 (Tue, 02 Dec 2008)
New Revision: 20
Modified:
dkms/trunk/debian/prerm
Log:
quite grep
Modified: dkms/trunk/debian/prerm
===================================================================
--- dkms/trunk/debian/prerm 2008-12-02 18:03:36 UTC (rev 19)
+++ dkms/trunk/debian/prerm 2008-12-02 18:04:51 UTC (rev 20)
@@ -9,7 +9,7 @@
hookline="header_postinst_hook = /etc/kernel/postinst.d/dkms"
if [ -e $kconf ]; then
- if grep -c "$hookline" "$kconf" ; then
+ if grep -q "$hookline" "$kconf" ; then
temp=`mktemp /tmp/dkms.XXXXXX`
grep -v "$hookline" "$kconf" > "$temp"
mv "$temp" "$kconf"
More information about the Pkg-dkms-commits
mailing list