test 2
All checks were successful
Check scripts syntax / check-scripts-syntax (push) Successful in 22s
All checks were successful
Check scripts syntax / check-scripts-syntax (push) Successful in 22s
This commit is contained in:
@@ -1,5 +1,3 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
## curl -sSL https://git.ivanch.me/ivanch/server-scripts/raw/branch/main/scripts-download.sh | bash
|
## curl -sSL https://git.ivanch.me/ivanch/server-scripts/raw/branch/main/scripts-download.sh | bash
|
||||||
|
|
||||||
@@ -109,7 +107,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
|
||||||
|
Reference in New Issue
Block a user