Update install.sh

This commit is contained in:
Stefan Pejcic
2025-05-08 21:19:57 +02:00
committed by GitHub
parent bcb8943d0d
commit fe9909aae7

View File

@@ -183,7 +183,7 @@ set_version_to_install(){
response=$(curl -4 -s "https://hub.docker.com/v2/repositories/openpanel/openpanel-ui/tags")
PANEL_VERSION=$(echo $response | jq -r '.results[0].name')
if [[ ! "$PANEL_VERSION" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
PANEL_VERSION="1.2.7" # fallback if hub.docker.com unreachable!
PANEL_VERSION="1.2.8" # fallback if hub.docker.com unreachable to first tag that supports arm
fi
fi
}