mirror of
https://github.com/rocky-linux/rocky-tools.git
synced 2024-12-28 04:40:56 +00:00
Use C locale instead of en_US (#98)
en_US is not guaranteed to be installed on all systems, but C is, so we use the C locale to guarantee that all the dnf and rpm command output parses properly.
This commit is contained in:
parent
8d68003ddf
commit
33373b4ef4
1 changed files with 2 additions and 1 deletions
|
@ -106,7 +106,8 @@ errmsg () {
|
|||
printf '%s%s%s' "$errcolor" "$msg" "$nocolor" >&4
|
||||
}
|
||||
|
||||
export LC_ALL=en_US.UTF-8 LANGUAGE=en_US
|
||||
export LC_ALL=C.UTF-8
|
||||
unset LANGUAGE
|
||||
shopt -s nullglob
|
||||
|
||||
SUPPORTED_MAJOR="8"
|
||||
|
|
Loading…
Reference in a new issue