* util/grub-mkconfig_lib.in (grub_file_is_not_garbage): Sometimes
grub.d/README accidentally ends up executable for one reason or another. Ignore it.
This commit is contained in:
parent
1c4827beff
commit
8d4a2fec0d
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2010-07-02 Colin Watson <cjwatson@ubuntu.com>
|
||||
|
||||
* util/grub-mkconfig_lib.in (grub_file_is_not_garbage): Sometimes
|
||||
grub.d/README accidentally ends up executable for one reason or
|
||||
another. Ignore it.
|
||||
|
||||
2010-07-02 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* partmap/gpt.c (MAX_SECTOR_LOG): New definition.
|
||||
|
|
|
@ -128,6 +128,7 @@ grub_file_is_not_garbage ()
|
|||
if test -f "$1" ; then
|
||||
case "$1" in
|
||||
*.dpkg-*) return 1 ;; # debian dpkg
|
||||
README*) return 1 ;; # documentation
|
||||
esac
|
||||
else
|
||||
return 1
|
||||
|
|
Loading…
Reference in a new issue