diff --git a/scripts-download.sh b/scripts-download.sh index b1402c8..d95ecc2 100644 --- a/scripts-download.sh +++ b/scripts-download.sh @@ -109,10 +109,10 @@ FILES=("clean.sh" "backup.sh" "docker-updater.sh") # Prompt user to select files to download selected_files=() -echo -e "${GREY}[i] Select files to download and install on crontab:"${NC}" +echo -e "${GREY}[i] Select files to download and install on crontab:${NC}" for FILE in "${FILES[@]}"; do - read -p "Do you want to download and install $FILE? (y/n): " choice - if [[ "$choice" == "y" || "$choice" == "Y" ]]; then + read -p "Do you want to download and install $FILE? \(Y/n\): " choice + if [[ "$choice" == "y" || "$choice" == "Y" || "$choice" == "" ]]; then selected_files+=("$FILE") fi done