fix(脚本): 删除多余代码

pull/534/merge
mack-a 2021-07-04 01:15:17 +08:00
parent d92422308a
commit 42fb41ae11
1 changed files with 1 additions and 1 deletions

View File

@ -2832,7 +2832,7 @@ updateNginxBlog() {
read -r -p "请选择:" selectInstallNginxBlogType
if [[ "${selectInstallNginxBlogType}" =~ ^[1-9]$ ]]; then
rm -rf /usr/share/nginx/html
# 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/master/fodder/blog/unable/html${selectInstallNginxBlogType}.zip" >/dev/null