Package: invaders Severity: normal Tags: patch For menu.lst, we delivered the promise that this file wouldn't be automaticaly updated unless /etc/kernel-img.conf was configured to do so. Assuming otherwise might be irritating to some users (for example see #459247).
In order to allow packages to use auto-update feature for GRUB 2, but without running the risk of overwriting possibly-customized menu.lst from GRUB Legacy, an `update-grub2' symlink is being provided. Please, use that in your calls to garantee that it is GRUB 2's grub.cfg that is being updated, not menu.lst. The patch in addition corrects a minor mistake (replaces 2>/dev/null with >/dev/null to supress `which' output). -- System Information: Debian Release: lenny/sid APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-5-amd64 Locale: LANG=ca_AD.UTF-8, LC_CTYPE=ca_AD.UTF-8 (charmap=UTF-8)
diff -Nur invaders-1.0.0/debian/postinst invaders-1.0.0.new/debian/postinst --- invaders-1.0.0/debian/postinst 2008-01-10 13:56:49.000000000 +0100 +++ invaders-1.0.0.new/debian/postinst 2008-01-10 13:51:22.000000000 +0100 @@ -2,8 +2,8 @@ set -e -if [ "$1" = "configure" ] && [ -x "`which update-grub 2>/dev/null`" ]; then - update-grub +if [ "$1" = "configure" ] && [ -x "`which update-grub2 >/dev/null`" ]; then + update-grub2 fi #DEBHELPER# diff -Nur invaders-1.0.0/debian/postrm invaders-1.0.0.new/debian/postrm --- invaders-1.0.0/debian/postrm 2008-01-10 13:56:49.000000000 +0100 +++ invaders-1.0.0.new/debian/postrm 2008-01-10 13:51:36.000000000 +0100 @@ -2,7 +2,7 @@ set -e -if [ -x "`which update-grub 2>/dev/null`" ]; then update-grub ; fi +if [ -x "`which update-grub2 >/dev/null`" ]; then update-grub2 ; fi #DEBHELPER#

