Fix check for directory

This commit is contained in:
Anthony Rose 2021-03-22 22:39:11 +00:00
parent 9caf4fb4c2
commit 56311883e1

View file

@ -38,7 +38,7 @@ else
echo "python3 found: $py3cmd" echo "python3 found: $py3cmd"
fi fi
if [ ! -x "$HOME/opt/ansible/bin/ansible-playbook" ]; then if [ ! -d "$install_path" ]; then
python3 -m venv "$install_path" || exit 1 python3 -m venv "$install_path" || exit 1
fi fi