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
525b55e772
commit
68d0d821d1
@ -10,7 +10,7 @@
|
|||||||
# Usage: bash <(curl -sSL https://openpanel.org)
|
# Usage: bash <(curl -sSL https://openpanel.org)
|
||||||
# Author: Stefan Pejcic <stefan@pejcic.rs>
|
# Author: Stefan Pejcic <stefan@pejcic.rs>
|
||||||
# Created: 11.07.2023
|
# Created: 11.07.2023
|
||||||
# Last Modified: 22.05.2025
|
# Last Modified: 29.05.2025
|
||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
@ -182,7 +182,7 @@ set_version_to_install(){
|
|||||||
PANEL_VERSION=$(echo "$response" | grep -o '"name":"[^"]*"' | head -n 1 | sed 's/"name":"\([^"]*\)"/\1/')
|
PANEL_VERSION=$(echo "$response" | grep -o '"name":"[^"]*"' | head -n 1 | sed 's/"name":"\([^"]*\)"/\1/')
|
||||||
fi
|
fi
|
||||||
if [[ ! "$PANEL_VERSION" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
|
if [[ ! "$PANEL_VERSION" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
|
||||||
PANEL_VERSION="1.3.3" # fallback if hub.docker.com unreachable
|
PANEL_VERSION="1.3.4" # fallback if hub.docker.com unreachable
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user