From c92c10831c1097e6ca8750f0064f5087c0664316 Mon Sep 17 00:00:00 2001 From: mack-a <57424792+mack-a@users.noreply.github.com> Date: Sun, 4 Jul 2021 01:08:14 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=84=9A=E6=9C=AC):=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E5=AE=89=E8=A3=85=E6=97=B6UUID=E6=B5=81=E7=A8=8B=E3=80=81?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=97=A7=E4=BC=AA=E8=A3=85=E7=AB=99=E7=82=B9?= =?UTF-8?q?=EF=BC=8C=E6=B7=BB=E5=8A=A0=E6=9B=B4=E5=A4=9A=E6=96=B0=E7=9A=84?= =?UTF-8?q?=E4=BC=AA=E8=A3=85=E7=AB=99=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/install.sh b/install.sh index 4893f05..53f54ef 100644 --- a/install.sh +++ b/install.sh @@ -942,7 +942,7 @@ nginxBlog() { if [[ "${nginxBlogInstallStatus}" == "y" ]]; then rm -rf /usr/share/nginx/html randomNum=$((RANDOM%6+1)) - wget -q -P /usr/share/nginx https://raw.githubusercontent.com/mack-a/v2ray-agent/dev/fodder/blog/unable/html${randomNum}.zip >/dev/null + wget -q -P /usr/share/nginx https://raw.githubusercontent.com/mack-a/v2ray-agent/master/fodder/blog/unable/html${randomNum}.zip >/dev/null unzip -o /usr/share/nginx/html${randomNum}.zip -d /usr/share/nginx/html >/dev/null rm -f /usr/share/nginx/html${randomNum}.zip* echoContent green " ---> 添加伪装站点成功" @@ -950,7 +950,7 @@ nginxBlog() { else randomNum=$((RANDOM%6+1)) rm -rf /usr/share/nginx/html - wget -q -P /usr/share/nginx https://raw.githubusercontent.com/mack-a/v2ray-agent/dev/fodder/blog/unable/html${randomNum}.zip >/dev/null + wget -q -P /usr/share/nginx https://raw.githubusercontent.com/mack-a/v2ray-agent/master/fodder/blog/unable/html${randomNum}.zip >/dev/null unzip -o /usr/share/nginx/html${randomNum}.zip -d /usr/share/nginx/html >/dev/null rm -f /usr/share/nginx/html${randomNum}.zip* echoContent green " ---> 添加伪装站点成功" @@ -2833,11 +2833,11 @@ updateNginxBlog() { if [[ "${selectInstallNginxBlogType}" =~ ^[1-9]$ ]]; then rm -rf /usr/share/nginx/html - + rm -rf /usr/share/nginx/* if wget --help | grep -q show-progress; then - wget -c -q --show-progress -P /usr/share/nginx "https://raw.githubusercontent.com/mack-a/v2ray-agent/dev/fodder/blog/unable/html${selectInstallNginxBlogType}.zip" >/dev/null + wget -c -q --show-progress -P /usr/share/nginx "https://raw.githubusercontent.com/mack-a/v2ray-agent/master/fodder/blog/unable/html${selectInstallNginxBlogType}.zip" >/dev/null else - wget -c -P /usr/share/nginx "https://raw.githubusercontent.com/mack-a/v2ray-agent/dev/fodder/blog/unable/html${selectInstallNginxBlogType}.zip" >/dev/null + wget -c -P /usr/share/nginx "https://raw.githubusercontent.com/mack-a/v2ray-agent/master/fodder/blog/unable/html${selectInstallNginxBlogType}.zip" >/dev/null fi unzip -o "/usr/share/nginx/html${selectInstallNginxBlogType}.zip" -d /usr/share/nginx/html >/dev/null @@ -4282,7 +4282,7 @@ menu() { cd "$HOME" || exit echoContent red "\n==============================================================" echoContent green "作者:mack-a" - echoContent green "当前版本:v2.5.16_dev" + echoContent green "当前版本:v2.5.16" echoContent green "Github:https://github.com/mack-a/v2ray-agent" echoContent green "描述:八合一共存脚本\c" showInstallStatus