Bug#265915: patch

Jason Thomas Jason Thomas <jason@debian.org>, 265915@bugs.debian.org
Wed, 18 Aug 2004 15:26:52 +1000


--yrj/dFKFPuw6o+aM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

tags 265915 + patch
thanks

Heres a patch to make this happen

-- 
Jason

"I hope you learn speaking English proper I hope speak I me you."
     -- Branden Robinson, 2001

--yrj/dFKFPuw6o+aM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="grub_dpkg-.diff"

diff -Naur grub-0.95+cvs20040624.orig/debian/update-grub grub-0.95+cvs20040624/debian/update-grub
--- grub-0.95+cvs20040624.orig/debian/update-grub	2004-08-18 15:23:07.000000000 +1000
+++ grub-0.95+cvs20040624/debian/update-grub	2004-08-18 15:24:59.000000000 +1000
@@ -652,7 +652,7 @@
 echo >> $buffer
 
 sortedKernels=""
-for kern in $(/bin/ls -1vr /boot/vmlinuz-*) ; do
+for kern in $(/bin/ls -1vr /boot/vmlinuz-* | grep -v dpkg-*) ; do
 	# found a kernel
 	newerKernels=""
 	for i in $sortedKernels ; do

--yrj/dFKFPuw6o+aM--