* [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 4987c2b7fe4095168a10c0c41f49eb53f4740891
@ 2013-05-21 19:25 git
0 siblings, 0 replies; only message in thread
From: git @ 2013-05-21 19:25 UTC (permalink / raw)
To: ipfire-scm
[-- Attachment #1: Type: text/plain, Size: 2350 bytes --]
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".
The branch, next has been updated
via 4987c2b7fe4095168a10c0c41f49eb53f4740891 (commit)
from 49dd4438fd91884c402d14576b33b975fb874e0b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 4987c2b7fe4095168a10c0c41f49eb53f4740891
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date: Tue May 21 21:21:21 2013 +0200
console: Load right console font for Turkish language.
-----------------------------------------------------------------------
Summary of changes:
config/rootfiles/core/69/filelists/files | 1 +
src/initscripts/init.d/console | 28 +++++++++++++++-------------
2 files changed, 16 insertions(+), 13 deletions(-)
Difference in files:
diff --git a/config/rootfiles/core/69/filelists/files b/config/rootfiles/core/69/filelists/files
index 45246cf..4745dbc 100644
--- a/config/rootfiles/core/69/filelists/files
+++ b/config/rootfiles/core/69/filelists/files
@@ -1,4 +1,5 @@
etc/system-release
etc/issue
+etc/rc.d/init.d/console
var/ipfire/langs/list
var/ipfire/langs/tr.pl
diff --git a/src/initscripts/init.d/console b/src/initscripts/init.d/console
index 7282623..d69ddd3 100644
--- a/src/initscripts/init.d/console
+++ b/src/initscripts/init.d/console
@@ -21,19 +21,21 @@ eval $(/usr/local/bin/readhash /var/ipfire/main/settings)
FONT="lat0-16"
KEYMAP_CORRECTIONS="euro2"
-if [ "$LANGUAGE" == "de" ]; then
- LEGACY_CHARSET="iso-8859-15"
- #FONT="LatArCyrHeb-16 -m 8859-15"
- FONT="lat0-16 -m 8859-15"
-fi
-
-if [ "$LANGUAGE" == "pl" ]; then
- FONT="lat2-16"
-fi
-
-if [ "$LANGUAGE" == "ru" ]; then
- FONT="LatArCyrHeb-16"
-fi
+case "${LANGUAGE}" in
+ # German
+ de)
+ LEGACY_CHARSET="iso-8859-15"
+ FONT="lat0-16 -m 8859-15"
+ ;;
+ # Polish
+ pl)
+ FONT="lat2-16"
+ ;;
+ # Russish/Turkish
+ ru|tr)
+ FONT="LatArCyrHeb-16"
+ ;;
+esac
UNICODE="1"
BROKEN_COMPOSE="0"
hooks/post-receive
--
IPFire 2.x development tree
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-05-21 19:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-21 19:25 [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 4987c2b7fe4095168a10c0c41f49eb53f4740891 git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox