From 392d775fff38c49cb4c82ccb85a20ee3a23fe475 Mon Sep 17 00:00:00 2001 From: Hyy2001X <1804430051@qq.com> Date: Tue, 8 Jun 2021 11:05:51 +0800 Subject: [PATCH] =?UTF-8?q?V6.0.2=20=E9=80=82=E9=85=8D=20luci-app-autoupda?= =?UTF-8?q?te?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Scripts/AutoUpdate.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Scripts/AutoUpdate.sh b/Scripts/AutoUpdate.sh index f509e76..77d04d0 100755 --- a/Scripts/AutoUpdate.sh +++ b/Scripts/AutoUpdate.sh @@ -154,9 +154,9 @@ CHANGE_GITHUB() { TIME y "错误的 Github 地址,示例: https://github.com/Hyy2001X/AutoBuild-Actions" exit 1 } - UCI_Github_URL=$(uci get autoupdate.@login[0].github 2>/dev/null) + UCI_Github_URL=$(uci get autoupdate.@common[0].github 2>/dev/null) [[ -n ${UCI_Github_URL} && ! ${UCI_Github_URL} == $1 ]] && { - uci set autoupdate.@login[0].github=$1 + uci set autoupdate.@common[0].github=$1 uci commit autoupdate TIME y "UCI 设置已更新!" } @@ -419,7 +419,7 @@ REMOVE_FW_CACHE() { esac } -export Version=V6.0.1 +export Version=V6.0.2 export FW_SAVE_PATH=/tmp/Downloads export Upgrade_Command=sysupgrade [ ! -f /etc/AutoBuild/Custom_Variable ] && touch /etc/AutoBuild/Custom_Variable