Skip to content

Commit

Permalink
Merge branch 'SLE-15-SP1' into 'master'
Browse files Browse the repository at this point in the history
  • Loading branch information
teclator committed Apr 20, 2020
2 parents 1189cac + a6138b6 commit 8e9f7a0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
7 changes: 7 additions & 0 deletions package/yast2-installation.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Apr 20 12:10:19 UTC 2020 - Knut Anderssen <kanderssen@suse.com>

- Force the use of en_US.UTF-8 when running firstboot or the
AutoYaST Second Stage with 'POSIX' or 'C as RC_LANG (bsc#1169017)
- 4.2.41

-------------------------------------------------------------------
Fri Mar 20 14:04:48 UTC 2020 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com>

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-installation.spec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#

Name: yast2-installation
Version: 4.2.40
Version: 4.2.41
Release: 0
Group: System/YaST
License: GPL-2.0-only
Expand Down
9 changes: 7 additions & 2 deletions startup/common/language.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,13 @@ function set_language_cont () {
export RC_LANG=en_US
fi

# get rid of encoding and/or modifier
export LANG=${RC_LANG%%[.@]*}.UTF-8
if [ "$RC_LANG" == "POSIX" ] || [ "$RC_LANG" == "C" ] ; then
log "\tRC_LANG is ${RC_LANG}, using LANG en_US.UTF-8 as default..."
export LANG=en_US.UTF-8
else
# get rid of encoding and/or modifier
export LANG=${RC_LANG%%[.@]*}.UTF-8
fi
}

#----[ start_unicode ]-----#
Expand Down

0 comments on commit 8e9f7a0

Please sign in to comment.