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 /.) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]