Remove any temp before deploy

This commit is contained in:
Jake Howard 2016-07-23 20:59:05 +01:00
parent b20214a22d
commit f998588560
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -4,6 +4,9 @@ echo "> Deploying to GitHub..."
set -e set -e
echo ">> Removing any existing..."
rm -rf /tmp/existing-dotfiles || "No Existing Found"
echo ">> Downloading existing dotfiles..." echo ">> Downloading existing dotfiles..."
git clone --depth=1 git@github.com:RealOrangeOne/dotfiles.git /tmp/existing-dotfiles git clone --depth=1 git@github.com:RealOrangeOne/dotfiles.git /tmp/existing-dotfiles