From 2112304de1a14442d09267c8855159be7a4f64f9 Mon Sep 17 00:00:00 2001 From: Anthony Date: Tue, 17 Jun 2025 23:29:38 +0800 Subject: [PATCH] Fixed script download --- mbadmin.jps | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mbadmin.jps b/mbadmin.jps index 6e1f086..cf10291 100644 --- a/mbadmin.jps +++ b/mbadmin.jps @@ -26,6 +26,11 @@ onInstall: - if [ ! -f clear_opcache.php ]; then echo "Failed to download clear_opcache.php"; exit 1; fi - curl -OL https://deploy.mightybox.io/tony/mb-admin/raw/branch/main/scripts/update_opcache_settings.sh - if [ ! -f update_opcache_settings.sh ]; then echo "Failed to download update_opcache_settings.sh"; exit 1; fi + # Download LiteSpeed scripts with verification + - curl -OL https://deploy.mightybox.io/tony/mb-admin/raw/branch/main/scripts/check_litespeed.php + - if [ ! -f check_litespeed.php ]; then echo "Failed to download check_litespeed.php"; exit 1; fi + - curl -OL https://deploy.mightybox.io/tony/mb-admin/raw/branch/main/scripts/manage_litespeed.php + - if [ ! -f manage_litespeed.php ]; then echo "Failed to download manage_litespeed.php"; exit 1; fi - chmod +x *.php *.sh # Download WordPress Installer with path verification - cd /home/litespeed/mbmanager