From dce51425850900ff9c624de9441af97adcf1506f Mon Sep 17 00:00:00 2001 From: Bernhard Landauer Date: Mon, 6 Mar 2017 02:09:14 +0100 Subject: [PATCH] missing changes --- lib/util.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/util.sh b/lib/util.sh index f2190da..2a21024 100644 --- a/lib/util.sh +++ b/lib/util.sh @@ -20,6 +20,7 @@ H_INIT="" # Host init-sys NW_CMD="" # command to launch the available network client # Locale and Language +LANGSEL="/tmp/.language" CURR_LOCALE="en_US.UTF-8" # Default Locale FONT="" # Set new font if necessary KEYMAP="us" # Virtual console keymap. Default is "us" @@ -190,11 +191,11 @@ select_language() { "7" $"Portuguese|(pt_PT)" \ "8" $"Portuguese [Brasil]|(pt_BR)" \ "9" $"Russian|(ru_RU)" \ - "10" $"Spanish|(es_ES)" 2>${ANSWER} + "10" $"Spanish|(es_ES)" 2>${LANGSEL} # "5" $"German|(de_DE)" \ - case $(cat ${ANSWER}) in + case $(cat ${LANGSEL}) in "1") source $DATADIR/translations/danish.trans CURR_LOCALE="da_DK.UTF-8" FONT="cp865-8x16.psfu"