Remove git clone destination in case it exists.

This commit is contained in:
Julien Palard 2017-02-20 14:11:58 +01:00
parent de058bbb73
commit 4de65d0679
1 changed files with 1 additions and 0 deletions

View File

@ -1,5 +1,6 @@
#!/bin/sh
rm -fr /tmp/.dotfiles/
git clone -q git@github.com:JulienPalard/dotfiles.git /tmp/.dotfiles/ &&
./copy_to_home.py /tmp/.dotfiles/ ~/ --exclude README.md .git copy.py install.sh &&
rm -fr /tmp/.dotfiles/