mirror of
https://github.com/whyour/qinglong.git
synced 2026-08-15 05:33:27 +08:00
修复git_pull
This commit is contained in:
+1
-1
@@ -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
|
||||||
|
|||||||
+6
-6
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user