mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update install.sh
This commit is contained in:
parent
435c55d44c
commit
d65f164f60
@ -182,7 +182,7 @@ set_version_to_install(){
|
||||
PANEL_VERSION=$(echo "$response" | grep -o '"name":"[^"]*"' | head -n 1 | sed 's/"name":"\([^"]*\)"/\1/')
|
||||
fi
|
||||
if [[ ! "$PANEL_VERSION" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
|
||||
PANEL_VERSION="1.3.1" # fallback if hub.docker.com unreachable
|
||||
PANEL_VERSION="1.3.2" # fallback if hub.docker.com unreachable
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user