diff options
author | Leif Johansson <leifj@sunet.se> | 2015-02-24 11:13:47 +0100 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2015-02-24 11:13:47 +0100 |
commit | 7863ad617033064d6b5758d3d1f4bba32b9cc5dd (patch) | |
tree | 57cddfbc3b3ecbad158df496cb749bfc4ab355b7 /global/post-tasks.d/018packages | |
parent | c6af45e481b4e089d4d48cdf5ac0831204def912 (diff) | |
parent | bc70832f4c33a458f2e913af702823539b2da7a1 (diff) |
Merge branch 'master' of git://github.com/leifj/multiverse into multiverse
Diffstat (limited to 'global/post-tasks.d/018packages')
-rwxr-xr-x | global/post-tasks.d/018packages | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/global/post-tasks.d/018packages b/global/post-tasks.d/018packages index 5ca5c63..3e2e26e 100755 --- a/global/post-tasks.d/018packages +++ b/global/post-tasks.d/018packages @@ -31,6 +31,9 @@ if [ -f $CONFIG ]; then elif [ -d $CACHE_DIR/scm/$module/.git ]; then if [ "$update" = "yes" ]; then cd $CACHE_DIR/scm/$module + if [ "$src" != "$(git config remote.origin.url)" ]; then + git config remote.origin.url $src + fi git pull -q else continue |