1 |
diff -Nur e-smith-base-5.8.0.old/createlinks e-smith-base-5.8.0/createlinks |
2 |
--- e-smith-base-5.8.0.old/createlinks 2017-02-27 18:00:34.294000000 -0500 |
3 |
+++ e-smith-base-5.8.0/createlinks 2017-02-27 18:23:38.701000000 -0500 |
4 |
@@ -583,3 +583,34 @@ |
5 |
symlink("/usr/lib/systemd/system/bootstrap-console.service", |
6 |
"root/usr/lib/systemd/system/multi-user.target.wants/bootstrap-console.service") |
7 |
or die "Can't symlink to root/usr/lib/systemd/system/multi-user.target.wants/bootstrap-console.service: $!"; |
8 |
+ |
9 |
+# languages links |
10 |
+foreach (qw(fr-be fr-lu fr-mc fr-ch)) |
11 |
+{ |
12 |
+ safe_symlink("fr", "root/etc/e-smith/locale/$_"); |
13 |
+} |
14 |
+foreach (qw(en-bz en-ca en-ie en-in en-jm en-my en-ph en-sg en-tt en-za en-zw)) |
15 |
+{ |
16 |
+ safe_symlink("en-us", "root/etc/e-smith/locale/$_"); |
17 |
+} |
18 |
+foreach (qw(es-ar es-bo es-cl es-co es-cr es-do es-ec es-es es-gt es-hn es-mx es-ni es-pa es-pe es-pr es-py es-sv es-us es-uy es-ve)) |
19 |
+{ |
20 |
+ safe_symlink("es", "root/etc/e-smith/locale/$_"); |
21 |
+} |
22 |
+foreach (qw(de-at de-ch de-de de-li de-lu)) |
23 |
+{ |
24 |
+ safe_symlink("de", "root/etc/e-smith/locale/$_"); |
25 |
+} |
26 |
+foreach (qw(it-ch it-it)) |
27 |
+{ |
28 |
+ safe_symlink("it", "root/etc/e-smith/locale/$_"); |
29 |
+} |
30 |
+foreach (qw(ro-ro ro-md)) |
31 |
+{ |
32 |
+ safe_symlink("ro", "root/etc/e-smith/locale/$_"); |
33 |
+} |
34 |
+foreach (qw(sv-fi sv-se)) |
35 |
+{ |
36 |
+ safe_symlink("sv", "root/etc/e-smith/locale/$_"); |
37 |
+} |
38 |
+safe_symlink("zh-tw", "root/etc/e-smith/locale/zh-hk"); |