scripts: bootstrap-ansible.sh: Do not error on 'alternatives' command
update-alternatives exits with error if there are no multiple providers for 'pip'. In that case, we should ignore the error since the correct 'pip' is already set. Change-Id: Ife27404688e6996fe8a2774c2644743701854339
This commit is contained in:
parent
a95896d0d2
commit
4e7e1c5104
@ -91,7 +91,7 @@ case ${DISTRO_ID} in
|
|||||||
# such we are using python2
|
# such we are using python2
|
||||||
# See https://github.com/ansible/ansible/issues/24180
|
# See https://github.com/ansible/ansible/issues/24180
|
||||||
PYTHON_EXEC_PATH="/usr/bin/python2"
|
PYTHON_EXEC_PATH="/usr/bin/python2"
|
||||||
alternatives --set pip /usr/bin/pip2.7
|
alternatives --set pip /usr/bin/pip2.7 || true
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user