mirror of
https://github.com/nxtrace/NTrace-core.git
synced 2025-08-12 06:26:39 +00:00
Update nt_install.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user