From 1745c7298188fed0af178655e3ea21c5eb3ed52f Mon Sep 17 00:00:00 2001 From: whyour Date: Tue, 29 Nov 2022 00:05:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20check/update=20=E9=80=BB?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shell/check.sh | 4 +--- shell/share.sh | 4 ---- shell/update.sh | 2 -- 3 files changed, 1 insertion(+), 9 deletions(-) diff --git a/shell/check.sh b/shell/check.sh index 787719e5..63e0251c 100644 --- a/shell/check.sh +++ b/shell/check.sh @@ -90,9 +90,7 @@ check_pm2() { main() { echo -e "=====> 开始检测" npm i -g pnpm - pnpm setup &>/dev/null - source ~/.bashrc - pnpm install -g &>/dev/null + patch_version pnpm add -g pm2 copy_dep check_ql diff --git a/shell/share.sh b/shell/share.sh index 9c8714de..fb2d8b8c 100755 --- a/shell/share.sh +++ b/shell/share.sh @@ -382,10 +382,6 @@ reload_pm2() { echo -e "启动定时任务服务\n" pm2 delete schedule --source-map-support --time &>/dev/null pm2 start $dir_static/build/schedule.js -n schedule --source-map-support --time &>/dev/null - - echo -e "启动公开服务\n" - pm2 delete public --source-map-support --time &>/dev/null - pm2 start $dir_static/build/public.js -n public --source-map-support --time &>/dev/null } diff_time() { diff --git a/shell/update.sh b/shell/update.sh index 0797ae3a..af1fd17d 100755 --- a/shell/update.sh +++ b/shell/update.sh @@ -246,8 +246,6 @@ usage() { ## 更新qinglong update_qinglong() { - patch_version &>/dev/null - local mirror="github" local githubStatus=$(curl -s -m 3 -IL "https://github.com" | grep 200) if [ "$githubStatus" == "" ]; then