Remove extra upgrade warning

This commit is contained in:
purple 2023-06-06 21:14:53 +02:00 committed by GitHub
parent cce0825355
commit 8a09c2f3c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -460,17 +460,8 @@ if [[ $2 == "-upgrade" ]]; then
log_bright "Upgrading will wipe your .blueprint folder and will overwrite your extensions. log_bright "Upgrading will wipe your .blueprint folder and will overwrite your extensions.
Are you sure you want to continue? (y/N)"; Are you sure you want to continue? (y/N)";
read YN; read YN;
if [[ ( $YN != "y" ) && ( $YN != "Y" ) ]]; then
exit 1;
fi;
log_bright "Upgrading will use the latest source version of Blueprint. if [[ ( $YN == "y" ) || ( $YN == "Y" ) ]]; then
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
log_bright "Upgrading.."; log_bright "Upgrading..";
bash tools/update.sh /var/www/$FOLDER; bash tools/update.sh /var/www/$FOLDER;
log_bright "Upgrade completed."; log_bright "Upgrade completed.";