mirror of
https://github.com/rocky-linux/rocky-tools.git
synced 2024-11-24 22:21:24 +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
@ -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 New Issue
Block a user