mirror of https://github.com/v2ray/v2ray-core
fix arch detection in install release script
parent
89175198ee
commit
8f9b23a6ab
|
@ -7,11 +7,11 @@ VER="v1.2"
|
||||||
ARCH=$(uname -m)
|
ARCH=$(uname -m)
|
||||||
VDIS="64"
|
VDIS="64"
|
||||||
|
|
||||||
if [ "$ARCH" == "i686" ] || [ "$ARCH" == "i386" ]; then
|
if [[ "$ARCH" == "i686" ]] || [[ "$ARCH" == "i386" ]]; then
|
||||||
VDIS="32"
|
VDIS="32"
|
||||||
elif [ "$ARCH" == *"armv7"* ]; then
|
elif [[ "$ARCH" == *"armv7"* ]]; then
|
||||||
VDIS="arm"
|
VDIS="arm"
|
||||||
elif [ "$ARCH" == *"armv8"* ]; then
|
elif [[ "$ARCH" == *"armv8"* ]]; then
|
||||||
VDIS="arm64"
|
VDIS="arm64"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue