grub-shell: skip font copying when no font is available.
This commit is contained in:
parent
79fc008935
commit
bec592aa87
1 changed files with 1 additions and 1 deletions
|
@ -481,7 +481,7 @@ elif [ x$boot = xemu ]; then
|
||||||
mkdir -p "$grubdir/fonts"
|
mkdir -p "$grubdir/fonts"
|
||||||
mkdir -p "$grubdir/themes"
|
mkdir -p "$grubdir/themes"
|
||||||
mkdir -p "$grubdir/locale"
|
mkdir -p "$grubdir/locale"
|
||||||
cp "@builddir@/"unicode.pf2 "$grubdir/fonts/unicode.pf2"
|
test -f "@builddir@/"unicode.pf2 && cp "@builddir@/"unicode.pf2 "$grubdir/fonts/unicode.pf2"
|
||||||
cp -R "@srcdir@/themes/starfield" "$grubdir/themes/starfield"
|
cp -R "@srcdir@/themes/starfield" "$grubdir/themes/starfield"
|
||||||
for file in "@srcdir@/po/"*.gmo; do
|
for file in "@srcdir@/po/"*.gmo; do
|
||||||
if [ -f "$file" ]; then
|
if [ -f "$file" ]; then
|
||||||
|
|
Loading…
Reference in a new issue