diff --git a/sync-all-repos b/sync-all-repos index f54622f..8ea2e30 100755 --- a/sync-all-repos +++ b/sync-all-repos @@ -6,18 +6,24 @@ for repo in ~/.ctt \ ~/bin \ ~/vcs/notes \ ~/vcs/nico-dot-cdist \ + ~/vcs/cdist-workdir \ ~/.password-store \ ; do echo $repo cd $repo - if [ $repo = ~/.password-store ]; then - git checkout master - git add . - git commit -m "updated by $0" || true - git pull - git checkout nico-privat - fi + case $repo in + ~/.password-store) + git checkout master + git add . + git commit -m "updated by $0" || true + git pull + git checkout nico-privat + ;; + ~/vcs/cdist-workdir) + mr update + ;; + esac git add . git commit -m "updated by $0 on $(hostname)" || true