From dd01e97cf34e24f97d615c5df9751f3735c012af Mon Sep 17 00:00:00 2001 From: guest20 Date: Wed, 28 Aug 2024 17:19:13 +0200 Subject: [PATCH] install.sh: FreeBSD amd64 (#385) --- install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 57600bc..f70a584 100755 --- a/install.sh +++ b/install.sh @@ -10,6 +10,8 @@ if [[ $NATIVE_OS == *"linux"* ]]; then OS=linux elif [[ $NATIVE_OS == *"darwin"* ]]; then OS=darwin +elif [[ $NATIVE_OS == *"freebsd"* ]]; then + OS=freebsd else echo "Could not determine OS automatically, please check the release page manually: https://github.com/cupcakearmy/autorestic/releases" exit 1 @@ -17,7 +19,7 @@ fi echo $OS NATIVE_ARCH=$(uname -m | tr '[:upper:]' '[:lower:]') -if [[ $NATIVE_ARCH == *"x86_64"* ]]; then +if [[ $NATIVE_ARCH == *"x86_64"* || $NATIVE_ARCH == *"amd64"* ]]; then ARCH=amd64 elif [[ $NATIVE_ARCH == *"arm64"* || $NATIVE_ARCH == *"aarch64"* ]]; then ARCH=arm64