dot

packages and services management
Log | Files | Refs | README

commit 90dc21ccabe4e8f5419ccd0ee7568a67cdd78e51
parent a5163e3249a7b59b1294d481369b828a9ecbd7d5
Author: Josuah Demangeon <josuah.demangeon@gandi.net>
Date:   Wed, 23 Aug 2017 23:28:08 +0200

git/bin/git-sync: hopefully fixed git fetch

Diffstat:
Mgit/bin/git-sync | 2+-
Msetup.sh | 12++++++------
2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/git/bin/git-sync b/git/bin/git-sync @@ -1,6 +1,6 @@ find "$HOME/srv/git" -mindepth 1 -maxdepth 1 -type d | while IFS='' read -r repo do - git -C "$repo" fetch --all + git -C "$repo" fetch origin master:master git -C "$repo" push --all done diff --git a/setup.sh b/setup.sh @@ -6,8 +6,7 @@ mkdir -p "$HOME/var/log" # serve(1) mkdir -p "$HOME/var/torrent" # gbt mkdir -p "$HOME/var/cache" mkdir -p "$HOME/var/pid" - -mkdir -p "$HOME/tmp" +mkdir -p "$HOME/var/tmp" mkdir -p "$HOME/srv/git" git clone --bare $HOST/alphabet.git "$HOME/srv/git/alphabet.git" @@ -27,6 +26,7 @@ git clone --bare $HOST/serve.git "$HOME/srv/git/serve.git" git clone --bare $HOST/shannon.git "$HOME/srv/git/shannon.git" git clone "$HOME/srv/git/http.git" "$HOME/srv/http" # quark(1) +mkdir -p "$HOME/srv/torrent" # gbt mkdir -p "$HOME/src" git clone "$HOME/srv/git/alphabet.git" "$HOME/src/alphabet" @@ -39,7 +39,7 @@ git clone "$HOME/srv/git/serve.git" "$HOME/src/serve" mkdir -p "$HOME/opt" -mkdir -p "$HOME/data/image" -mkdir -p "$HOME/data/music" -mkdir -p "$HOME/data/video" -git clone "$HOME/srv/git/notes.git" "$HOME/data/notes" +mkdir -p "$HOME/srv/media/image" +mkdir -p "$HOME/srv/media/music" +mkdir -p "$HOME/srv/media/video" +git clone "$HOME/srv/git/notes.git" "$HOME/srv/media/notes"