From d1888c8a212262a1a49c0b613504291a4ab38af8 Mon Sep 17 00:00:00 2001 From: Mason10198 <31994327+Mason10198@users.noreply.github.com> Date: Sat, 27 Jul 2024 16:12:10 -0500 Subject: [PATCH] Update swp-install --- swp-install | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/swp-install b/swp-install index 087fa6e..8d6c2b7 100644 --- a/swp-install +++ b/swp-install @@ -146,7 +146,7 @@ check_existing() { [N] Continue with a fresh install after making a backup to SkywarnPlus_$(date +'%m-%d-%Y')/ (you can grab your old config.yaml file from the backup) - Please choose an option (Y/n): " INSTALL_OPTION +Please choose an option (Y/n): " INSTALL_OPTION INSTALL_OPTION=${INSTALL_OPTION:-y} if [[ "$INSTALL_OPTION" =~ ^[Yy]$ ]]; then @@ -247,8 +247,7 @@ setup_crontab() { echo "To keep the default 1 minute interval, press enter." echo "If you would like to increase this interval, enter a different number of minutes." echo "To disable the crontab entry and require manual execution, enter '0'." - read -r -p "Crontab interval: (1): " CRONTAB_INTERVAL - print_divider + read -r -p "Crontab interval (1): " CRONTAB_INTERVAL CRONTAB_INTERVAL=${CRONTAB_INTERVAL:-1} fi