mirror of
https://github.com/rocky-linux/rocky-tools.git
synced 2024-11-15 17:51:27 +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
@ -105,7 +105,7 @@ errmsg () {
|
|||||||
printf '%s%s%s' "$errcolor" "$msg" "$nocolor" >&4
|
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
|
shopt -s nullglob
|
||||||
|
|
||||||
SUPPORTED_MAJOR="8"
|
SUPPORTED_MAJOR="8"
|
||||||
|
Loading…
Reference in New Issue
Block a user