fix: use dnf5-compatible group install syntax

`dnf groupinstall "Development Tools"` fails on dnf5 (Fedora 41+).
Use `dnf group install development-tools` which works on both dnf4
and dnf5.
This commit is contained in:
René Kuhn 2026-02-18 12:20:51 +01:00 committed by Chummy
parent e10d359cf9
commit 58a99abb96
2 changed files with 2 additions and 2 deletions

View file

@ -74,7 +74,7 @@ install_system_deps() {
run_privileged apt-get update -qq
run_privileged apt-get install -y build-essential pkg-config git curl
elif have_cmd dnf; then
run_privileged dnf groupinstall -y "Development Tools"
run_privileged dnf group install -y development-tools
run_privileged dnf install -y pkg-config git curl
else
warn "Unsupported Linux distribution. Install compiler toolchain + pkg-config + git + curl manually."