mirror of
https://github.com/gryf/vmstrap.git
synced 2025-12-18 20:10:28 +01:00
16.04 doen't have python3.6.
This commit is contained in:
14
bootstrap.sh
14
bootstrap.sh
@@ -168,9 +168,17 @@ ubuntu() {
|
|||||||
|
|
||||||
# 4. change alternatives
|
# 4. change alternatives
|
||||||
sudo update-alternatives --set editor /usr/bin/vim.basic
|
sudo update-alternatives --set editor /usr/bin/vim.basic
|
||||||
sudo update-alternatives \
|
case $DISTRO_R in
|
||||||
--install /usr/bin/python python /usr/bin/python3.6 10
|
'18.04')
|
||||||
sudo update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 10
|
sudo update-alternatives \
|
||||||
|
--install /usr/bin/python python /usr/bin/python3.6 10
|
||||||
|
sudo update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 10
|
||||||
|
;;
|
||||||
|
'20.04')
|
||||||
|
echo "20.04 is not yet supported"
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
# 5. install tools from pypi
|
# 5. install tools from pypi
|
||||||
sudo pip install pip --upgrade
|
sudo pip install pip --upgrade
|
||||||
|
|||||||
Reference in New Issue
Block a user