fixing file selection
All checks were successful
Check scripts syntax / check-scripts-syntax (push) Successful in 2s
All checks were successful
Check scripts syntax / check-scripts-syntax (push) Successful in 2s
This commit is contained in:
parent
5cb89839af
commit
0ae0a948c2
@ -111,8 +111,8 @@ FILES=("clean.sh" "backup.sh" "docker-updater.sh")
|
||||
selected_files=()
|
||||
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" || "$choice" == "" ]]; then
|
||||
read -p "Do you want to download and install $FILE? [Y/n]: " choice
|
||||
if [[ "$choice" == "y" || "$choice" == "Y" || -z "$choice" ]]; then
|
||||
selected_files+=("$FILE")
|
||||
fi
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user