From 3e32fe7f3001f05ec578aecba2b2a6e841fba0b2 Mon Sep 17 00:00:00 2001 From: MiguelNdeCarvalho Date: Fri, 13 May 2022 16:41:36 +0100 Subject: [PATCH] scripts: install: Change variable to point to bin location --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index ed38b0e..0dc8bb8 100755 --- a/scripts/install +++ b/scripts/install @@ -54,7 +54,7 @@ apply_env () { } check_preexisting_install () { - if [ -d "$INSTALL_DIR" ] && [ -f "$BINS_DIR" ]; then + if [ -d "$INSTALL_DIR" ] && [ -f "$BIN_FILE" ]; then echo "Found preexisting Terrabutler installation: $INSTALL_DIR." read -r -p "Do you want to replace it? [y/N] " response case "$response" in