Use command -v dnf instead

This commit is contained in:
Alessandro Griseta
2026-06-18 12:20:56 +02:00
committed by Aaron Boxer
parent e4160d2d06
commit ee64458194
+1 -1
View File
@@ -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