From 2b7a8ae40998b4bd58c2a9f9dac9a6ef2bfef514 Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Thu, 14 Jul 2022 21:08:13 +0200 Subject: [PATCH] Fix install script to correctly check for ansible directory --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index bee4577..a7db926 100755 --- a/install.sh +++ b/install.sh @@ -14,7 +14,7 @@ fi "${SUDO}" apt-add-repository --yes --update ppa:ansible/ansible "${SUDO}" apt install -y git ansible -if [ -d "${HOME}/src/ansible-desktop" ]; then +if [ ! -d "${HOME}/src/ansible-desktop" ]; then mkdir -p "${HOME}/src" cd "${HOME}/src" git clone "$ANSIBLE_REPO"