mirror of
https://github.com/rocky-linux/rocky-tools.git
synced 2024-12-28 04:40:56 +00:00
Force en_US.UTF-8
In order to properly parse output from certain commands we must ensure that output is in the correct locale and character set. Previously we had just set LANG but that doesn't force the issue and some systems may still have issues. While this change will override a person's foreign language preferences this is preferable to it causing a failed migration.
This commit is contained in:
parent
3c1c51bf35
commit
6ee3330480
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ errmsg () {
|
|||
printf '%s%s%s' "$errcolor" "$msg" "$nocolor" >&4
|
||||
}
|
||||
|
||||
export LANG=en_US.UTF-8
|
||||
export LC_ALL=en_US.UTF-8 LANGUAGE=en_US
|
||||
shopt -s nullglob
|
||||
|
||||
SUPPORTED_MAJOR="8"
|
||||
|
|
Loading…
Reference in a new issue