From 351da5f5a304220fc879a53fa57a9b5d85bed6d7 Mon Sep 17 00:00:00 2001 From: tsosunchia <59512455+tsosunchia@users.noreply.github.com> Date: Thu, 26 May 2022 21:57:42 +0800 Subject: [PATCH] Update nt_install.sh --- nt_install.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/nt_install.sh b/nt_install.sh index 1afe921..dccd101 100644 --- a/nt_install.sh +++ b/nt_install.sh @@ -222,9 +222,6 @@ runBinrayFileHelp() { } addCronTask() { - if [[ $auto == True ]]; then - return 0 - fi read -r -p "是否添加自动更新任务?(y/n)" input case $input in [yY][eE][sS] | [yY]) @@ -267,4 +264,4 @@ downloadBinrayFile # Run Procedure runBinrayFileHelp -addCronTask +[[ $auto != True ]] && addCronTask