[SCM] debian-live branch, master, updated. 1.130.1-3-39-gf9db77c

Chris Lamb chris at chris-lamb.co.uk
Sat Jun 21 23:59:31 UTC 2008


The following commit has been merged in the master branch:
commit f9db77c32f9376bfb7986c5fce7d09283eeaddcb
Author: Chris Lamb <chris at chris-lamb.co.uk>
Date:   Sun Jun 22 00:54:09 2008 +0100

    Expand glob for kernels in post{inst,rm} to include "vmlinux"-prefixed kernels on powerpc.
    
    Signed-off-by: Chris Lamb <chris at chris-lamb.co.uk>

diff --git a/debian/postinst b/debian/postinst
index b2d37bb..b94b3bd 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-case "$(ls -l /boot/vmlinuz-* | wc -l)" in
+case "$(ls -l /boot/vmlinu* | wc -l)" in
 	1)
 		# We only have one kernel installed, so we can use "-u"
 		# which will use dpkg-trigger inside update-initramfs
diff --git a/debian/postrm b/debian/postrm
index b2d37bb..b94b3bd 100644
--- a/debian/postrm
+++ b/debian/postrm
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-case "$(ls -l /boot/vmlinuz-* | wc -l)" in
+case "$(ls -l /boot/vmlinu* | wc -l)" in
 	1)
 		# We only have one kernel installed, so we can use "-u"
 		# which will use dpkg-trigger inside update-initramfs

-- 
debian-live



More information about the debian-live-changes mailing list