Bug#388724: grub: automatically update /etc/kernel-img.conf
Robert Millan
rmh at aybabtu.com
Sat Sep 23 08:57:46 UTC 2006
On Fri, Sep 22, 2006 at 01:31:42AM -0700, Karl Chen wrote:
> Package: grub
> Version: 0.97-16.1
> Severity: wishlist
>
>
> Please automatically update /etc/kernel-img.conf (after
> querying the user).
>
> Example:
> sed s,/sbin/update-grub,update-grub, /etc/kernel-img.conf > /etc/kernel-img.conf.dpkg-new
That matches more things than necessary (e.g. replaces /usr/sbin/update-grub
with /usr/update-grub). If at all, it would have to be something like:
sed -i /etc/kernel-img.conf -e "s,\(.*\) */sbin/update-grub$,\1 update-grub,g"
--
Robert Millan
My spam trap is honeypot at aybabtu.com. Note: this address is only intended for
spam harvesters. Writing to it will get you added to my black list.
More information about the Pkg-grub-devel
mailing list