1
0
mirror of https://github.com/gryf/vmstrap.git synced 2025-12-18 12:00:31 +01:00

16.04 doen't have python3.6.

This commit is contained in:
2020-09-17 13:05:00 +02:00
parent 3b78185581
commit 2f2d3da650

View File

@@ -168,9 +168,17 @@ ubuntu() {
# 4. change alternatives
sudo update-alternatives --set editor /usr/bin/vim.basic
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
case $DISTRO_R in
'18.04')
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
sudo pip install pip --upgrade