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