2
0
Эх сурвалжийг харах

Merge pull request #5459 from SecT0uch/patch-1

Niklas Meyer 1 жил өмнө
parent
commit
d5a2c96887
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      update.sh

+ 1 - 1
update.sh

@@ -886,7 +886,7 @@ done
 # git remote set-url origin https://github.com/mailcow/mailcow-dockerized
 # git remote set-url origin https://github.com/mailcow/mailcow-dockerized
 
 
 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 config --get remote.origin.url)
 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"