From b679fa342b93891afd8bd47cc26112dcfdb1a3b2 Mon Sep 17 00:00:00 2001 From: "FOCUS AESTHETIC DYNAMICS S.R.L." Date: Tue, 20 Jan 2026 10:05:27 +0200 Subject: [PATCH] Fixed repository validation for custom git repository. --- scripts/commands/advanced/upgrade.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/commands/advanced/upgrade.sh b/scripts/commands/advanced/upgrade.sh index 19ad0c9c..7af1f074 100644 --- a/scripts/commands/advanced/upgrade.sh +++ b/scripts/commands/advanced/upgrade.sh @@ -66,7 +66,7 @@ Command() { PRINT FATAL "Expected a git branch at argument 3, was empty. Exiting.." cleanup 1 fi - if [[ $remote_branch != *.git ]]; then + if [[ $remote_repo != *.git ]]; then PRINT FATAL "Expected a git repository at argument 2, was invalid. (Did you forget to prepend your argument with .git?) Exiting.." cleanup 1 fi