Fix install script to correctly check for ansible directory

This commit is contained in:
Przemek Grondek 2022-07-14 21:08:13 +02:00
parent a36600126b
commit 2b7a8ae409

View File

@ -14,7 +14,7 @@ fi
"${SUDO}" apt-add-repository --yes --update ppa:ansible/ansible "${SUDO}" apt-add-repository --yes --update ppa:ansible/ansible
"${SUDO}" apt install -y git 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" mkdir -p "${HOME}/src"
cd "${HOME}/src" cd "${HOME}/src"
git clone "$ANSIBLE_REPO" git clone "$ANSIBLE_REPO"