Explorar el Código

fixed remote url override

AlexHuebi hace 2 años
padre
commit
88fbec1e53
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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"]; then 
+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"