Update INSTALL.sh

This commit is contained in:
Stefan Pejcic 2024-07-24 15:25:13 +02:00 committed by GitHub
parent 92cb295f03
commit 57913d185a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,7 +5,7 @@
# Usage: cd /home && (curl -sSL https://get.openpanel.co || wget -O - https://get.openpanel.co) | bash
# Author: Stefan Pejcic
# Created: 11.07.2023
# Last Modified: 23.07.2024
# Last Modified: 24.07.2024
# Company: openpanel.co
# Copyright (c) OPENPANEL
#
@ -149,7 +149,7 @@ is_package_installed() {
# Get server ipv4 from ip.openpanel.co
current_ip=$(curl --silent --max-time 15 -4 https://ip.openpanel.co || wget -qO- https://ip.openpanel.co)
current_ip=$(curl --silent --max-time 2 -4 https://ip.openpanel.co || wget --timeout=2 -qO- https://ip.openpanel.co || curl --silent --max-time 2 -4 https://ifconfig.me)
# If site is not available, get the ipv4 from the hostname -I
if [ -z "$current_ip" ]; then