add install case for linux arm64

pull/12770/head
Steven Powell 2021-11-08 08:56:48 -05:00
parent 82bd665abb
commit a565ec05e5
1 changed files with 3 additions and 1 deletions

View File

@ -400,7 +400,9 @@ elapsed=$min.$sec
if ! type "jq" > /dev/null; then
echo ">> Installing jq"
if [ "${ARCH}" == "arm64" ]; then
if [ "${ARCH}" == "arm64" && "${OS}" == "linux" ]; then
sudo apt-get install jq -y
elif [ "${ARCH}" == "arm64" ]; then
echo "Unable to install 'jq' automatically for arm64, please install 'jq' manually."
exit 5
elif [ "${OS}" != "darwin" ]; then