diff options
author | Leif Johansson <leifj@sunet.se> | 2014-03-04 18:56:22 +0100 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2014-03-04 18:56:22 +0100 |
commit | 28cd67b49aa6175386dc0968a9a76e18473e3869 (patch) | |
tree | a19543e148131743c227bd068b75da59936a2efd /global | |
parent | e5dcb167d570a9c3dd32d73affe4307b7ffdcf09 (diff) | |
parent | b1b3ca294f92b9938d25c83d8099c2c8d95cb416 (diff) |
Merge branch 'master' of github.com:leifj/multiverse
Diffstat (limited to 'global')
-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 |