mirror of
https://github.com/tailscale/tailscale.git
synced 2025-04-09 09:44:38 +00:00
install.sh - fix DNF 5 detection on all locales
Signed-off-by: Raúl Blanco <rbr007.movil@gmail.com>
This commit is contained in:
parent
3a4b622276
commit
e39213178d
@ -521,7 +521,7 @@ main() {
|
||||
dnf)
|
||||
# DNF 5 has a different argument format; determine which one we have.
|
||||
DNF_VERSION="3"
|
||||
if dnf --version | grep -q '^dnf5 version'; then
|
||||
if LANG=C.UTF-8 dnf --version | grep -q '^dnf5 version'; then
|
||||
DNF_VERSION="5"
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user