From bd0e1d7718c471269d6109291976c6553f69ae3b Mon Sep 17 00:00:00 2001 From: "Alex Ellis (OpenFaaS Ltd)" Date: Wed, 25 Sep 2024 10:15:00 +0100 Subject: [PATCH] Update support for Oracle Linux for edge installer Signed-off-by: Alex Ellis (OpenFaaS Ltd) --- hack/install-edge.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hack/install-edge.sh b/hack/install-edge.sh index 70deeb0..39d3f75 100644 --- a/hack/install-edge.sh +++ b/hack/install-edge.sh @@ -51,6 +51,14 @@ fi echo "2. Downloading OCI image, and installing pre-requisites" echo "" if [ ! -x "$(command -v arkade)" ]; then + + # For Centos, RHEL, Fedora, Amazon Linux, and Oracle Linux, use BINLOCATION=/usr/bin/ + BINLOCATION=/usr/local/bin/ + + if [ -n "$(command -v yum)" ]; then + BINLOCATION=/usr/bin/ + fi + curl -sLS https://get.arkade.dev | sh fi