On Tue, Apr 15, 2008 at 12:22:48AM +0200, Lubomir Kundrak wrote: > --- grub-1.96.orig/util/update-grub_lib.in 2008-04-15 00:16:12.000000000 > +0200 > +++ grub-1.96/util/update-grub_lib.in 2008-04-15 00:15:04.000000000 +0200 > @@ -115,6 +115,8 @@ grub_file_is_not_garbage () > if test -f "$1" ; then > case "$1" in > *.dpkg-dist|*.dpkg-old|*.dpkg-tmp) return 1 ;; # debian dpkg > + *.rpmnew|*.rpmsave) return 1 ;; # Fedora rpm > + *.bak|*~|.*.swp) return 1 ;; # backup and swap files from editors
This has the side-effect that Linux images whose name ends with ~ are excluded, which is probably not that uncommon. E.g. /boot/vmlinuz-2.6.24.foobar~ Is this really what we want? -- 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 /.) _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel