From ee6445819463980b5b33764c7941708907b85da7 Mon Sep 17 00:00:00 2001 From: Alessandro Griseta Date: Thu, 18 Jun 2026 12:20:56 +0200 Subject: [PATCH] Use `command -v dnf` instead --- scripts/setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/setup.sh b/scripts/setup.sh index ec68b35..13ac703 100644 --- a/scripts/setup.sh +++ b/scripts/setup.sh @@ -19,7 +19,7 @@ elif [[ "$OSTYPE" == "linux-gnu"* ]]; then source /etc/os-release fi - if [[ "${ID:-}" == "fedora" ]]; then + if [[ "$(command -v dnf)" ]]; then echo "Detected Fedora, using dnf for installation" dnf install -y portaudio-devel wget else