fixing scripts downloader

This commit is contained in:
Jose Henrique 2025-05-24 00:45:16 -03:00
parent 0ae0a948c2
commit d54cbdced3

View File

@ -109,7 +109,7 @@ FILES=("clean.sh" "backup.sh" "docker-updater.sh")
# Prompt user to select files to download # Prompt user to select files to download
selected_files=() 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 for FILE in "${FILES[@]}"; do
read -p "Do you want to download and install $FILE? [Y/n]: " choice read -p "Do you want to download and install $FILE? [Y/n]: " choice
if [[ "$choice" == "y" || "$choice" == "Y" || -z "$choice" ]]; then if [[ "$choice" == "y" || "$choice" == "Y" || -z "$choice" ]]; then