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