aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinstall2
1 files changed, 1 insertions, 1 deletions
diff --git a/install b/install
index a8d870fe..b930c9a7 100755
--- a/install
+++ b/install
@@ -2,7 +2,7 @@
# Define dotfiles directory and check it exists
dotfiles="$HOME/.dotfiles"
-if [[ ! -n $dotfiles ]]; then
+if [[ ! -d $dotfiles ]]; then
printf "Could not find $dotfiles!\n" >&2
exit 1
fi