On Tue, May 20, 2008 at 05:20:58PM +0200, Reinhard Tartler wrote: > The following change adds the lpia architecture. Debian does currently > not have it, but ubuntu has. lpia is very similar to i386, but used as > mobile devices. The following change won't harm in debian, and will be > useful if debian will adopt the lpia arch. Some other packages do > include that kind of changes.
Oops, sorry, I didn't notice this bug and just submitted it separately. > The postrm script should actually check that /boot/grub actually exist > instead of unconditionally calling update-grub. I suspect that should > avoid bugs like > https://bugs.launchpad.net/ubuntu/+source/memtest86+/+bug/129614 > > diff -u memtest86+-2.01/debian/postrm memtest86+-2.01/debian/postrm > --- memtest86+-2.01/debian/postrm > +++ memtest86+-2.01/debian/postrm > @@ -1,7 +1,7 @@ > #!/bin/bash > set -e > > -if which update-grub2 > /dev/null ; then > +if test -d /boot/grub && which update-grub2 > /dev/null ; then > update-grub2 > fi > This should be synced up with the postinst, reading 'test -e /boot/grub/grub.cfg' instead of 'test -d /boot/grub'. I've made this change in Ubuntu. Thanks, -- Colin Watson [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

