installer: add 32 bit arm support
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
c214937e4a
commit
11d78234b2
|
@ -47,6 +47,12 @@ function install_abra_release {
|
||||||
ARCH=$(uname -m)
|
ARCH=$(uname -m)
|
||||||
if [[ $ARCH =~ "aarch64" ]]; then
|
if [[ $ARCH =~ "aarch64" ]]; then
|
||||||
ARCH="arm64"
|
ARCH="arm64"
|
||||||
|
elif [[ $ARCH =~ "armv5l" ]]; then
|
||||||
|
ARCH="armv5"
|
||||||
|
elif [[ $ARCH =~ "armv6l" ]]; then
|
||||||
|
ARCH="armv6"
|
||||||
|
elif [[ $ARCH =~ "armv7l" ]]; then
|
||||||
|
ARCH="armv7"
|
||||||
fi
|
fi
|
||||||
PLATFORM=$(uname -s | tr '[:upper:]' '[:lower:]')_$ARCH
|
PLATFORM=$(uname -s | tr '[:upper:]' '[:lower:]')_$ARCH
|
||||||
FILENAME="abra_"$ABRA_VERSION"_"$PLATFORM""
|
FILENAME="abra_"$ABRA_VERSION"_"$PLATFORM""
|
||||||
|
|
Loading…
Reference in New Issue