Update install.sh

This commit is contained in:
Stefan Pejcic
2025-05-16 12:34:57 +02:00
committed by GitHub
parent 71d1df51d1
commit ca4d32eacd

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.8" # fallback if hub.docker.com unreachable to first tag that supports arm
PANEL_VERSION="1.2.9" # fallback if hub.docker.com unreachable to first tag that supports arm
fi
fi
}