Update support for Oracle Linux for edge installer

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
This commit is contained in:
Alex Ellis (OpenFaaS Ltd) 2024-09-25 10:15:00 +01:00
parent bfc87ff432
commit bd0e1d7718

View File

@ -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