1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2025-12-16 03:15:59 +00:00

Fix for git < v1.7.5

This change should be compatible with all git version.
(get-url available from v1.7.5)
This commit is contained in:
Jordan ERNST
2023-10-12 15:55:53 +02:00
committed by GitHub
parent a366494c34
commit bb4bc11383

View File

@@ -893,7 +893,7 @@ done
# git remote set-url origin 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
echo "The Repository currently used is not the default Mailcow Repository."
echo "Currently Repository: $CURRENT_REPO"