2010-03-04 Vladimir Serbinenko <phcoder@gmail.com>

* util/i386/efi/grub-install.in: Copy gettext files.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-03-04 15:12:34 +01:00
parent c4d0b332c5
commit 08dcd91370
2 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2010-03-04 Vladimir Serbinenko <phcoder@gmail.com>
* util/i386/efi/grub-install.in: Copy gettext files.
2010-03-01 Vladimir Serbinenko <phcoder@gmail.com> 2010-03-01 Vladimir Serbinenko <phcoder@gmail.com>
* fs/ext2.c (grub_ext2_read_block): Fix an integer overflow. * fs/ext2.c (grub_ext2_read_block): Fix an integer overflow.

View file

@ -180,6 +180,14 @@ for file in ${pkglibdir}/*.mod ${pkglibdir}/*.lst; do
cp -f $file ${grubdir} || exit 1 cp -f $file ${grubdir} || exit 1
done done
# Copy gettext files
mkdir -p ${grubdir}/locale/
for file in ${grubdir}/locale/*.mo ${pkglibdir}/locale/*.mo; do
if test -f "$file"; then
cp -f "$file" ${grubdir}/locale/
fi
done
if ! test -f ${grubdir}/grubenv; then if ! test -f ${grubdir}/grubenv; then
$grub_editenv ${grubdir}/grubenv create $grub_editenv ${grubdir}/grubenv create
fi fi