From 05f4e70be44e98d8a36fae6df3fe172e0aec8bec Mon Sep 17 00:00:00 2001 From: master3395 Date: Sun, 8 Mar 2026 23:28:34 +0100 Subject: [PATCH] install.sh: fetch cyberpanel.sh from repo so AlmaLinux 10 fixes are used --- install.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 28ae56bdb..dc3c6313a 100644 --- a/install.sh +++ b/install.sh @@ -64,6 +64,11 @@ fi rm -f cyberpanel.sh rm -f install.tar.gz -curl --silent -o cyberpanel.sh "https://cyberpanel.sh/?dl&$SERVER_OS" 2>/dev/null +# Fetch cyberpanel.sh from this repo (master3395/cyberpanel) so AlmaLinux 10 and other fixes are used +CYBERPANEL_SCRIPT_URL="https://raw.githubusercontent.com/master3395/cyberpanel/v2.4.5/cyberpanel.sh" +curl --silent -o cyberpanel.sh "$CYBERPANEL_SCRIPT_URL" 2>/dev/null +if [ ! -s cyberpanel.sh ]; then + curl --silent -o cyberpanel.sh "https://cyberpanel.sh/?dl&$SERVER_OS" 2>/dev/null +fi chmod +x cyberpanel.sh ./cyberpanel.sh $@ \ No newline at end of file