mirror of
https://github.com/openfaas/faasd.git
synced 2025-06-11 01:16:47 +00:00
Rename missed has_yum reference to has_dnf
Signed-off-by: Han Verstraete (OpenFaaS Ltd) <han@openfaas.com>
This commit is contained in:
parent
c14d92c5c2
commit
0defc22a3f
@ -65,7 +65,7 @@ echo ""
|
|||||||
if [ ! -x "$(command -v arkade)" ]; then
|
if [ ! -x "$(command -v arkade)" ]; then
|
||||||
# For Centos, RHEL, Fedora, Amazon Linux, and Oracle Linux, use BINLOCATION=/usr/bin/
|
# For Centos, RHEL, Fedora, Amazon Linux, and Oracle Linux, use BINLOCATION=/usr/bin/
|
||||||
|
|
||||||
if $(has_yum); then
|
if $(has_dnf); then
|
||||||
BINLOCATION=/usr/bin/
|
BINLOCATION=/usr/bin/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user