From 7f846f9f24a0b8fb63a233d4dc445f1560aaf591 Mon Sep 17 00:00:00 2001 From: Drew Short Date: Mon, 14 Sep 2015 19:56:36 -0500 Subject: [PATCH] Fixed an issue where the bootstrapper wasn't overwriting the links with the copy_dir function --- scripts/bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh index 5365df0..5c759f7 100755 --- a/scripts/bootstrap.sh +++ b/scripts/bootstrap.sh @@ -38,7 +38,7 @@ link_dir() { copy_dir() { # Only make a backup if an existing directory is there and is not a link - if [ -d "$1/$2" ] && [ ! -L "$1/$2" ]; then + if [ -d "$1/$2" ] || [ -L "$1/$2" ]; then # Allow passing true as third param to do backups backup=true if [ ! -z "$3" ]; then