From f8ba11c218ad7513da8dc18d50d70384de4632bc Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9gis=20Hanol?= Date: Tue, 8 Dec 2020 12:08:43 +0100 Subject: [PATCH] FIX: prompt to remove old psql data defaults to 'N' --- launcher | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/launcher b/launcher index b62e885..70e2751 100755 --- a/launcher +++ b/launcher @@ -240,7 +240,7 @@ check_prereqs() { df -h $safe_folder echo if tty >/dev/null; then - read -p "Would you like to attempt to recover space by cleaning docker images and containers in the system?(y/N)" -n 1 -r + read -p "Would you like to attempt to recover space by cleaning docker images and containers in the system? (y/N)" -n 1 -r echo if [[ $REPLY =~ ^[Yy]$ ]] then @@ -486,7 +486,7 @@ fi if [ -d /var/discourse/shared/standalone/postgres_data_old ]; then echo echo "Old PostgreSQL backup data cluster detected taking up $(du -hs /var/discourse/shared/standalone/postgres_data_old | awk '{print $1}') detected" - read -p "Would you like to remove it? (Y/n): " -n 1 -r && echo + read -p "Would you like to remove it? (y/N): " -n 1 -r && echo if [[ $REPLY =~ ^[Yy]$ ]]; then echo "removing old PostgreSQL data cluster at /var/discourse/shared/standalone/postgres_data_old..." -- 2.25.1