修复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}"
}
. /ql/shell/api.sh
. $ShellDir/shell/api.sh
get_token
if [[ ${gitpullstatus} -eq 0 ]]; then

View File

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