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"