install.sh - fix DNF 5 detection on all locales (#15325)

Signed-off-by: Raúl Blanco <rbr007.movil@gmail.com>
main
Raúl Blanco 1 year ago committed by GitHub
parent e9324236e8
commit a8c3490614
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      scripts/installer.sh

@ -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…
Cancel
Save