Browse Source

fixed remote url override

AlexHuebi 2 years ago
parent
commit
d098e7b9e6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      update.sh

+ 1 - 1
update.sh

@@ -893,7 +893,7 @@ done
 
 
 DEFAULT_REPO=https://github.com/mailcow/mailcow-dockerized
 DEFAULT_REPO=https://github.com/mailcow/mailcow-dockerized
 CURRENT_REPO=$(git remote get-url origin)
 CURRENT_REPO=$(git remote get-url origin)
-if ["$CURRENT_REPO" != "$DEFAULT_REPO"]
+if ["$CURRENT_REPO" != "$DEFAULT_REPO"]; then 
   echo "The Repository currently used is not the default Mailcow Repository."
   echo "The Repository currently used is not the default Mailcow Repository."
   echo "Currently Repository: $CURRENT_REPO"
   echo "Currently Repository: $CURRENT_REPO"
   echo "Default Repository:   $DEFAULT_REPO"
   echo "Default Repository:   $DEFAULT_REPO"