From be0e3c0a9da877959d5cf3396742d92fbb57a422 Mon Sep 17 00:00:00 2001 From: Hyy2001X <1804430051@qq.com> Date: Fri, 15 Jan 2021 10:13:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E5=AE=9A=E6=97=B6?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=E4=B8=A2=E5=A4=B1=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Scripts/AutoBuild_Function.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/AutoBuild_Function.sh b/Scripts/AutoBuild_Function.sh index 8f521a5..e2f9add 100644 --- a/Scripts/AutoBuild_Function.sh +++ b/Scripts/AutoBuild_Function.sh @@ -37,7 +37,7 @@ Diy_Part2_Base() { if [ "${INCLUDE_AutoUpdate}" == "true" ];then ExtraPackages git lean luci-app-autoupdate https://github.com/Hyy2001X main sed -i '/luci-app-autoupdate/d' .config > /dev/null 2>&1 - echo "CONFIG_PACKAGE_luci-app-autoupdate=y" >> .config + echo -e "\nCONFIG_PACKAGE_luci-app-autoupdate=y" >> .config Replace_File Scripts/AutoUpdate.sh package/base-files/files/bin AutoUpdate_Version=$(awk 'NR==6' package/base-files/files/bin/AutoUpdate.sh | awk -F '[="]+' '/Version/{print $2}') [[ -z "${AutoUpdate_Version}" ]] && AutoUpdate_Version="Unknown"