From 9b606b488dfdd99ddbd4821a88f8e13195f59cd9 Mon Sep 17 00:00:00 2001 From: Mitchell Hanberg Date: Mon, 26 Nov 2018 00:29:08 -0500 Subject: [PATCH] Rework how we decide if repo is setup already --- bin/setup | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/setup b/bin/setup index b207d2f..2dbab0e 100755 --- a/bin/setup +++ b/bin/setup @@ -11,9 +11,11 @@ fi repo_name=$(cat .git/description) -if [ "$repo_name" == "jekyll-tailwind-starter" ]; then +if [ "$repo_name" != "jekyll-tailwind-starter" ]; then echo "==> Reinitializing Git repository" rm -rf .git git init + + cat "jekyll-tailwind-starter" > .git/description fi