* util/grub-install.in: Check for themes/starfield/theme.txt and not

themes/starfield.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-03-10 12:33:52 +01:00
parent c8f778a044
commit 005f46c94a
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2012-03-10 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub-install.in: Check for themes/starfield/theme.txt and not
themes/starfield.
2012-03-10 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/gnulib/regcomp.c (regerror): Fix out-of-range array lookup.

View file

@ -529,7 +529,7 @@ for dir in "${localedir}"/*; do
fi
done
if test -d "${pkgdatadir}"/themes/starfield; then
if test -f "${pkgdatadir}"/themes/starfield/theme.txt; then
mkdir -p "${grubdir}"/themes/starfield
cp "${pkgdatadir}"/themes/starfield/* "${grubdir}"/themes/starfield
fi