From e39213178d9e4fd42516c80fec09a7826a717a40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Blanco?= Date: Sun, 16 Mar 2025 00:12:33 +0100 Subject: [PATCH] install.sh - fix DNF 5 detection on all locales MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Raúl Blanco --- scripts/installer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/installer.sh b/scripts/installer.sh index f3671aff8..0b360b8a1 100755 --- a/scripts/installer.sh +++ b/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