[Pkg-dkms-commits] [SCM] Maintainance of the dkms package branch, master, updated. debian/2.0.20.4-1-6-g22d2ce2

Giuseppe Iuculano giuseppe at iuculano.it
Mon Feb 16 09:07:30 UTC 2009


The following commit has been merged in the master branch:
commit 22d2ce2fa2763929f7b58edd03ed5704d5b7dd9d
Author: Giuseppe Iuculano <giuseppe at iuculano.it>
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



More information about the Pkg-dkms-commits mailing list