* util/grub-mkconfig_lib.in (grub_file_is_not_garbage): Return 1 for

*/README* as well as README*.
Reported by: Axel Beckert.
This commit is contained in:
Colin Watson 2011-09-05 13:58:33 +01:00
parent ca51c4a04f
commit 2221ab6c62
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2011-09-05 Colin Watson <cjwatson@ubuntu.com>
* util/grub-mkconfig_lib.in (grub_file_is_not_garbage): Return 1 for
*/README* as well as README*.
Reported by: Axel Beckert.
2011-08-23 Vladimir Serbinenko <phcoder@gmail.com> 2011-08-23 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/kern/mips/loongson/init.c (grub_machine_init): Handle the * grub-core/kern/mips/loongson/init.c (grub_machine_init): Handle the

View file

@ -157,7 +157,7 @@ grub_file_is_not_garbage ()
if test -f "$1" ; then if test -f "$1" ; then
case "$1" in case "$1" in
*.dpkg-*) return 1 ;; # debian dpkg *.dpkg-*) return 1 ;; # debian dpkg
README*) return 1 ;; # documentation README*|*/README*) return 1 ;; # documentation
esac esac
else else
return 1 return 1