summaryrefslogtreecommitdiff
blob: 7e1cb8979e636da54613f4ba99347179da507a20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Description: Prefer translations from language packs
Author: Colin Watson <cjwatson@ubuntu.com>
Bug-Ubuntu: https://bugs.launchpad.net/bugs/537998
Forwarded: not-needed
Last-Update: 2010-03-22

diff -Nur -x '*.orig' -x '*~' grub2/util/grub-install.in grub2.new/util/grub-install.in
--- grub2/util/grub-install.in	2010-03-22 15:58:16.000000000 +0000
+++ grub2.new/util/grub-install.in	2010-03-22 15:59:04.000000000 +0000
@@ -246,7 +246,7 @@
 
 # Copy gettext files
 mkdir -p ${grubdir}/locale/
-for dir in ${localedir}/*; do
+for dir in ${localedir}/* ${localedir}-langpack/*; do
     if test -f "$dir/LC_MESSAGES/grub.mo"; then
         cp -f "$dir/LC_MESSAGES/grub.mo" "${grubdir}/locale/${dir##*/}.mo"
     fi
diff -Nur -x '*.orig' -x '*~' grub2/util/i386/efi/grub-install.in grub2.new/util/i386/efi/grub-install.in
--- grub2/util/i386/efi/grub-install.in	2010-03-22 15:58:16.000000000 +0000
+++ grub2.new/util/i386/efi/grub-install.in	2010-03-22 15:59:17.000000000 +0000
@@ -183,7 +183,7 @@
 
 # Copy gettext files
 mkdir -p ${grubdir}/locale/
-for dir in ${localedir}/*; do
+for dir in ${localedir}/* ${localedir}-langpack/*; do
     if test -f "$dir/LC_MESSAGES/grub.mo"; then
         cp -f "$dir/LC_MESSAGES/grub.mo" "${grubdir}/locale/${dir##*/}.mo"
     fi