From 8a09c2f3c35f515dd7d090599d89a7d2d6f02314 Mon Sep 17 00:00:00 2001 From: purple Date: Tue, 6 Jun 2023 21:14:53 +0200 Subject: [PATCH] Remove extra upgrade warning --- blueprint.sh | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/blueprint.sh b/blueprint.sh index 0236399..092107c 100644 --- a/blueprint.sh +++ b/blueprint.sh @@ -460,17 +460,8 @@ if [[ $2 == "-upgrade" ]]; then log_bright "Upgrading will wipe your .blueprint folder and will overwrite your extensions. Are you sure you want to continue? (y/N)"; read YN; - if [[ ( $YN != "y" ) && ( $YN != "Y" ) ]]; then - exit 1; - fi; - - log_bright "Upgrading will use the latest source version of Blueprint. -This means that you will be using an early build of the next version that -might break. Upgrading is mainly made for Blueprint development not updating -to newer versions. -Are you sure you want to continue? (y/N)"; - read YN2; - if [[ ( $YN2 == "y" ) || ( $YN2 == "Y" ) ]]; then + + if [[ ( $YN == "y" ) || ( $YN == "Y" ) ]]; then log_bright "Upgrading.."; bash tools/update.sh /var/www/$FOLDER; log_bright "Upgrade completed.";