Bug#461367: grub: please use ucf for managing user changes to menu.lst

Robert Millan rmh at aybabtu.com
Sat Jan 19 11:47:46 UTC 2008


On Thu, Jan 17, 2008 at 05:30:29PM -0800, Steve Langasek wrote:
> --- grub-0.97.orig/debian/grub.postinst
> +++ grub-0.97/debian/grub.postinst
> @@ -0,0 +1,9 @@
> +#!/bin/sh
> +
> +if [ "$1" = "configure" ]; then
> +	if dpkg --compare-versions "$2" lt-nl "0.97-29.1"; then
> +		update-grub
> +	fi
> +fi

You can't autorun update-grub in Legacy GRUB.  People will yell at you.

-- 
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call… if you are unable to speak?
(as seen on /.)





More information about the Pkg-grub-devel mailing list