The following commit has been merged in the master branch:
commit 22d2ce2fa2763929f7b58edd03ed5704d5b7dd9d
Author: Giuseppe Iuculano <[email protected]>
Date:   Mon Feb 16 09:56:24 2009 +0100

    debian/patches/09-lilo_detection.patch: grep for do_bootloader instead of 
postinst_hook

diff --git a/debian/patches/09-lilo_detection.patch 
b/debian/patches/09-lilo_detection.patch
index 57861a5..f77e5cd 100644
--- a/debian/patches/09-lilo_detection.patch
+++ b/debian/patches/09-lilo_detection.patch
@@ -6,7 +6,7 @@ check /etc/kernel-img.conf to find if user is using grub
  
      # Rerun lilo if necessary
 -    if ! [ -e /boot/grub/grub.conf ] && [ -e /etc/lilo.conf ] && ! [ -e 
/boot/grub/menu.lst ]; then
-+    if ( grep ^postinst_hook /etc/kernel-img.conf |  grep -q grub ) && [ -e 
/etc/lilo.conf ]; then
++    if ( grep ^do_bootloader /etc/kernel-img.conf |  grep -qi yes  ) && [ -e 
/etc/lilo.conf ]; then
        invoke_command "/sbin/lilo" "Updating lilo"
      fi
  

-- 
Maintainance of the dkms package

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

Reply via email to