Bug#606399: unblock: grub 0.97-64
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock
I only just uploaded this, but before I forget, this fixes a critical
bug and I think it should go into squeeze.
grub (0.97-64) unstable; urgency=low
* Exit silently from zz-update-grub kernel hook if update-grub does not
exist (e.g. if grub has been removed but not purged; closes: #606377).
-- Colin Watson <cjwatson@debian.org> Wed, 08 Dec 2010 21:08:19 +0000
diff -u grub-0.97/debian/changelog grub-0.97/debian/changelog
--- grub-0.97/debian/changelog
+++ grub-0.97/debian/changelog
@@ -1,3 +1,10 @@
+grub (0.97-64) unstable; urgency=low
+
+ * Exit silently from zz-update-grub kernel hook if update-grub does not
+ exist (e.g. if grub has been removed but not purged; closes: #606377).
+
+ -- Colin Watson <cjwatson@debian.org> Wed, 08 Dec 2010 21:08:19 +0000
+
grub (0.97-63) unstable; urgency=low
* Make /etc/kernel/postrm.d/zz-update-grub a real file rather than a
diff -u grub-0.97/debian/kernel/zz-update-grub grub-0.97/debian/kernel/zz-update-grub
--- grub-0.97/debian/kernel/zz-update-grub
+++ grub-0.97/debian/kernel/zz-update-grub
@@ -1,6 +1,8 @@
#! /bin/sh
set -e
+which update-grub >/dev/null 2>&1 || exit 0
+
set -- $DEB_MAINT_PARAMS
mode="${1#\'}"
mode="${mode%\'}"
Thanks,
--
Colin Watson [cjwatson@debian.org]
Reply to: