fixing small issue with script
All checks were successful
Check scripts syntax / check-scripts-syntax (push) Successful in 38s
All checks were successful
Check scripts syntax / check-scripts-syntax (push) Successful in 38s
This commit is contained in:
parent
9308d45255
commit
5cb89839af
@ -109,10 +109,10 @@ 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" ]]; then
|
if [[ "$choice" == "y" || "$choice" == "Y" || "$choice" == "" ]]; then
|
||||||
selected_files+=("$FILE")
|
selected_files+=("$FILE")
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user