From f99858856077e94b8adda69ecfed007fe962c67f Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 23 Jul 2016 20:59:05 +0100 Subject: [PATCH] Remove any temp before deploy --- deploy.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deploy.sh b/deploy.sh index cbc7474..b56ff85 100755 --- a/deploy.sh +++ b/deploy.sh @@ -4,6 +4,9 @@ echo "> Deploying to GitHub..." set -e +echo ">> Removing any existing..." +rm -rf /tmp/existing-dotfiles || "No Existing Found" + echo ">> Downloading existing dotfiles..." git clone --depth=1 git@github.com:RealOrangeOne/dotfiles.git /tmp/existing-dotfiles