install script: detect existing install dir

master
Raphael 2019-03-25 14:08:37 +01:00 committed by GitHub
parent 3dac2142d3
commit 2404c30596
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,8 @@ BASE=$HOME/.dotfiles
if [ ! -d "$BASE" ]; then if [ ! -d "$BASE" ]; then
git clone https://github.com/sundowndev/dotfiles $BASE git clone https://github.com/sundowndev/dotfiles $BASE
else
echo "dotfiles already installed"
fi fi
# links # links