浏览代码

fixed remote url override

AlexHuebi 2 年之前
父节点
当前提交
88fbec1e53
共有 1 个文件被更改,包括 1 次插入1 次删除
  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"