Bug#388724: grub: automatically update /etc/kernel-img.conf
On Sat, Sep 23, 2006 at 04:31:56PM -0700, Karl Chen wrote: On 2006-09-23 01:57 PDT, Robert Millan writes: Robert That matches more things than necessary (e.g. replaces Robert /usr/sbin/update-grub with /usr/update-grub). If at Robert all, it would have to be something like: Robert sed -i /etc/kernel-img.conf -e s,\(.*\) Robert */sbin/update-grub$,\1 update-grub,g Good point. That line looks good (do you need the g though?). I always add the g so that I don't have to worry on wether I need the g or not. When I want a more strict regex that would only match once, then I write a more strict regex rather than removing g. It is easier for me to read it this way. -- Robert Millan My spam trap is [EMAIL PROTECTED] Note: this address is only intended for spam harvesters. Writing to it will get you added to my black list. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#388724: grub: automatically update /etc/kernel-img.conf
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 [EMAIL PROTECTED] Note: this address is only intended for spam harvesters. Writing to it will get you added to my black list. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#388724: grub: automatically update /etc/kernel-img.conf
On 2006-09-23 01:57 PDT, Robert Millan writes: Robert That matches more things than necessary (e.g. replaces Robert /usr/sbin/update-grub with /usr/update-grub). If at Robert all, it would have to be something like: Robert sed -i /etc/kernel-img.conf -e s,\(.*\) Robert */sbin/update-grub$,\1 update-grub,g Good point. That line looks good (do you need the g though?). -- Karl 2006-09-23 16:30 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#388724: grub: automatically update /etc/kernel-img.conf
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 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]