From 7eca34a4706e62a5cb6a64caa7114bc6c22b7103 Mon Sep 17 00:00:00 2001 From: d3v11 Date: Sat, 17 Dec 2011 04:17:22 +0000 Subject: added scripts/git-pull :-). ./scripts/git-pull $PEER_NAME example: ./scripts/git-pull d3v11 --- scripts/git-pull | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 scripts/git-pull diff --git a/scripts/git-pull b/scripts/git-pull new file mode 100755 index 0000000..260c33b --- /dev/null +++ b/scripts/git-pull @@ -0,0 +1,7 @@ +#!/bin/bash +if [ -z "$1" ]; then + echo './scripts/git-pull $PEER_NAME' + exit 1 +fi +[ -e db/usr/"$1"/git ] && git pull `cat db/usr/"$1"/git` master +[ -e db/usr/"$1"/git ] || echo "./git-pull: record does not exist for $1" -- cgit v1.2.3