mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2024-12-22 08:16:25 +00:00
install.sh: FreeBSD amd64 (#385)
This commit is contained in:
parent
aabb0989c6
commit
dd01e97cf3
@ -10,6 +10,8 @@ if [[ $NATIVE_OS == *"linux"* ]]; then
|
|||||||
OS=linux
|
OS=linux
|
||||||
elif [[ $NATIVE_OS == *"darwin"* ]]; then
|
elif [[ $NATIVE_OS == *"darwin"* ]]; then
|
||||||
OS=darwin
|
OS=darwin
|
||||||
|
elif [[ $NATIVE_OS == *"freebsd"* ]]; then
|
||||||
|
OS=freebsd
|
||||||
else
|
else
|
||||||
echo "Could not determine OS automatically, please check the release page manually: https://github.com/cupcakearmy/autorestic/releases"
|
echo "Could not determine OS automatically, please check the release page manually: https://github.com/cupcakearmy/autorestic/releases"
|
||||||
exit 1
|
exit 1
|
||||||
@ -17,7 +19,7 @@ fi
|
|||||||
echo $OS
|
echo $OS
|
||||||
|
|
||||||
NATIVE_ARCH=$(uname -m | tr '[:upper:]' '[:lower:]')
|
NATIVE_ARCH=$(uname -m | tr '[:upper:]' '[:lower:]')
|
||||||
if [[ $NATIVE_ARCH == *"x86_64"* ]]; then
|
if [[ $NATIVE_ARCH == *"x86_64"* || $NATIVE_ARCH == *"amd64"* ]]; then
|
||||||
ARCH=amd64
|
ARCH=amd64
|
||||||
elif [[ $NATIVE_ARCH == *"arm64"* || $NATIVE_ARCH == *"aarch64"* ]]; then
|
elif [[ $NATIVE_ARCH == *"arm64"* || $NATIVE_ARCH == *"aarch64"* ]]; then
|
||||||
ARCH=arm64
|
ARCH=arm64
|
||||||
|
Loading…
Reference in New Issue
Block a user