Rename missed has_yum reference to has_dnf

Signed-off-by: Han Verstraete (OpenFaaS Ltd) <han@openfaas.com>
This commit is contained in:
Han Verstraete (OpenFaaS Ltd) 2025-05-20 14:14:50 +02:00 committed by Alex Ellis
parent c14d92c5c2
commit 0defc22a3f

View File

@ -65,7 +65,7 @@ echo ""
if [ ! -x "$(command -v arkade)" ]; then
# For Centos, RHEL, Fedora, Amazon Linux, and Oracle Linux, use BINLOCATION=/usr/bin/
if $(has_yum); then
if $(has_dnf); then
BINLOCATION=/usr/bin/
fi