From 9fd58480296ca9bcbf3232cadce88c0c72152e5f Mon Sep 17 00:00:00 2001 From: Leendert de Borst Date: Thu, 26 Jun 2025 22:32:40 +0200 Subject: [PATCH] Update install script logic (#963) --- install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 8d85561a8..db9529eea 100755 --- a/install.sh +++ b/install.sh @@ -2211,8 +2211,9 @@ check_install_script_update() { exit 0 fi - printf "${YELLOW}> A new version of the install script is available.${NC}\n" - printf "Would you like to update the install script before proceeding? [Y/n]: " + printf "${YELLOW}> A new version of the install script is available (${new_version}).${NC}\n" + printf "\n" + printf "Would you like to update the install script? [Y/n]: " read -r reply if [[ ! $reply =~ ^[Nn]$ ]]; then @@ -2585,7 +2586,6 @@ handle_db_import() { # Check if we're getting input from a pipe if [ -t 0 ]; then - printf "${RED}Error: No input file provided${NC}\n" printf "Usage: ./install.sh db-import [--dev] < backup.sql.gz\n" exit 1 fi