diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2016-07-12 21:32:15 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2016-07-12 21:32:15 +0300 |
commit | 07a113e46ec10a93aa86bac680ab95a5e539840c (patch) | |
tree | 2072be166a3723772487f5614b804b877cd1e464 /include | |
parent | cb76421d9c462947006ec3d6f15fbb29c5c45b84 (diff) |
Set initial value for language and improve auto detection
Diffstat (limited to 'include')
-rw-r--r-- | include/profiles | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/profiles b/include/profiles index 89bd26a5..e0182f03 100644 --- a/include/profiles +++ b/include/profiles @@ -139,7 +139,9 @@ # Language language | lang) LogText "Language set via profile to ${VALUE}" - LANGUAGE="${VALUE}" + if [ ! -z "${VALUE}" ]; then + LANGUAGE="${VALUE}" + fi AddSetting "language" "${LANGUAGE}" "Language" ;; |