Use command -v dnf instead
This commit is contained in:
committed by
Aaron Boxer
parent
e4160d2d06
commit
ee64458194
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user