only clone config if it doesn't exist
This commit is contained in:
parent
cf3382745c
commit
38db6357e3
1 changed files with 3 additions and 1 deletions
2
newbox
2
newbox
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue