The following commit has been merged in the master branch:
commit c465e484556fbb3f1ac520a5c1571db460912495
Author: David Paleino <[email protected]>
Date:   Sun Dec 6 21:31:03 2009 +0100

    Fixed patch by vorlon: the case didn't act the same as the original code

diff --git a/debian/patches/04_optimize_init.patch 
b/debian/patches/04_optimize_init.patch
index 278b4c6..c34e953 100644
--- a/debian/patches/04_optimize_init.patch
+++ b/debian/patches/04_optimize_init.patch
@@ -6,8 +6,12 @@ drop localization of the usage message - this is
 inconsistent with all other init scripts on the system.
 use case instead of grep for string matching
 LP: #484386
---- a/dkms_autoinstaller
-+++ b/dkms_autoinstaller
+---
+ dkms_autoinstaller |   80 
++++++++++++++++++++++-------------------------------
+ 1 file changed, 34 insertions(+), 46 deletions(-)
+
+--- dkms.orig/dkms_autoinstaller
++++ dkms/dkms_autoinstaller
 @@ -1,4 +1,4 @@
 -#!/bin/bash
 +#!/bin/sh
@@ -96,7 +100,7 @@ LP: #484386
                        fi
 -                      [ `echo "$AUTOINSTALL" | grep -ic "^y"` -gt 0 ] && 
do_autoinstall="yes"
 +                      case $AUTOINSTALL in
-+                              *y*)
++                              [yY]*)
 +                                      do_autoinstall="yes"
 +                                      ;;
 +                      esac

-- 
Dynamic Kernel Module Support

_______________________________________________
Pkg-dkms-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-dkms-commits

Reply via email to