only clone config if it doesn't exist

This commit is contained in:
Sami Samhuri 2010-08-11 11:36:53 -07:00
parent cf3382745c
commit 38db6357e3

2
newbox
View file

@ -30,7 +30,9 @@ if ! which git >/dev/null 2>&1; then
fi
cd ~
if [[ ! -d config ]]; then
git clone git://github.com/samsonjs/config || fail "cannot clone config repo"
fi
for FILE in config/*; do
pushd "$HOME"