Fix install script to correctly check for ansible directory
This commit is contained in:
parent
a36600126b
commit
2b7a8ae409
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user