sync repos: and sub repos for cdist
This commit is contained in:
parent
dc726cf468
commit
31d2387412
1 changed files with 13 additions and 7 deletions
|
@ -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
|
||||
case $repo in
|
||||
~/.password-store)
|
||||
git checkout master
|
||||
git add .
|
||||
git commit -m "updated by $0" || true
|
||||
git pull
|
||||
git checkout nico-privat
|
||||
fi
|
||||
;;
|
||||
~/vcs/cdist-workdir)
|
||||
mr update
|
||||
;;
|
||||
esac
|
||||
|
||||
git add .
|
||||
git commit -m "updated by $0 on $(hostname)" || true
|
||||
|
|
Loading…
Reference in a new issue