修复git_pull

This commit is contained in:
whyour 2021-04-03 21:10:03 +08:00
parent 79507a2f38
commit 7eba87aa2c
2 changed files with 7 additions and 7 deletions

View File

@ -92,7 +92,7 @@ delcron() {
[ "$delname" != "" ] && notify "删除 ${author} 失效脚本" "${delname}" [ "$delname" != "" ] && notify "删除 ${author} 失效脚本" "${delname}"
} }
. /ql/shell/api.sh . $ShellDir/shell/api.sh
get_token get_token
if [[ ${gitpullstatus} -eq 0 ]]; then if [[ ${gitpullstatus} -eq 0 ]]; then

View File

@ -283,14 +283,14 @@ Import_Conf
Random_Pull_Cron Random_Pull_Cron
# 更新shell # 更新shell
# [ -f $ShellDir/package.json ] && PanelDependOld=$(cat $ShellDir/package.json) [ -f $ShellDir/package.json ] && PanelDependOld=$(cat $ShellDir/package.json)
# Git_Pull_Shell Git_Pull_Shell
# Git_Pull_Shell_Next Git_Pull_Shell_Next
## 更新scripts ## 更新scripts
# [ -f $ScriptsDir/package.json ] && ScriptsDependOld=$(cat $ScriptsDir/package.json) [ -f $ScriptsDir/package.json ] && ScriptsDependOld=$(cat $ScriptsDir/package.json)
# Git_Pull_Scripts Git_Pull_Scripts
# Git_Pull_Scripts_Next Git_Pull_Scripts_Next
## 调用用户自定义的extra.sh ## 调用用户自定义的extra.sh
if [[ $EnableExtraShell == true ]]; then if [[ $EnableExtraShell == true ]]; then