From 599899d96052d0cc25aa679a97cfc09453d07d5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Fri, 7 Jul 2023 17:24:55 +0800 Subject: [PATCH] fix: url error --- scripts/plugins/openresty/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/plugins/openresty/install.sh b/scripts/plugins/openresty/install.sh index bd1e1e1c..3cefa270 100644 --- a/scripts/plugins/openresty/install.sh +++ b/scripts/plugins/openresty/install.sh @@ -20,7 +20,7 @@ HR="+----------------------------------------------------" ARCH=$(uname -m) OS=$(source /etc/os-release && { [[ "$ID" == "debian" ]] && echo "debian"; } || { [[ "$ID" == "centos" ]] || [[ "$ID" == "rhel" ]] || [[ "$ID" == "rocky" ]] || [[ "$ID" == "almalinux" ]] && echo "centos"; } || echo "unknown") -downloadUrl="https://raw.githubusercontent.com/HaoZi-Team/Panel-Assets/main/openresty" +downloadUrl="https://raw.githubusercontent.com/HaoZi-Team/Panel_Assets/main/openresty" setupPath="/www" openrestyPath="${setupPath}/server/openresty" openrestyVersion="1.21.4.1" @@ -62,7 +62,7 @@ mv openssl-1.1.1u openssl rm -f openssl.tar.gz # pcre -wget -T 60 -O pcre-8.45.tar.gz ${downloadUrl}/modules/pcre-8.45.tar.gz +wget -T 60 -O pcre-8.45.tar.gz ${downloadUrl}/pcre/pcre-8.45.tar.gz tar -zxvf pcre-8.45.tar.gz rm -f pcre-8.45.tar.gz mv pcre-8.45 pcre