mirror of
https://github.com/gryf/vmstrap.git
synced 2025-12-19 04:20:26 +01:00
Don't upgrade pip on 20.04
This commit is contained in:
11
bootstrap.sh
11
bootstrap.sh
@@ -173,7 +173,13 @@ 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
|
||||||
|
|
||||||
|
# 5.
|
||||||
case $DISTRO_R in
|
case $DISTRO_R in
|
||||||
|
'16.04')
|
||||||
|
sudo pip install pip --upgrade
|
||||||
|
sudo pip install remote_pdb rainbow pdbpp
|
||||||
|
;;
|
||||||
'18.04')
|
'18.04')
|
||||||
sudo update-alternatives \
|
sudo update-alternatives \
|
||||||
--install /usr/bin/python python /usr/bin/python3.6 10
|
--install /usr/bin/python python /usr/bin/python3.6 10
|
||||||
@@ -189,15 +195,10 @@ ubuntu() {
|
|||||||
sudo update-alternatives \
|
sudo update-alternatives \
|
||||||
--install /usr/bin/pip pip /usr/bin/pip3 10
|
--install /usr/bin/pip pip /usr/bin/pip3 10
|
||||||
# 5.
|
# 5.
|
||||||
sudo pip3 install pip --upgrade
|
|
||||||
sudo pip3 install remote_pdb rainbow pdbpp
|
sudo pip3 install remote_pdb rainbow pdbpp
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# 5. install tools from pypi
|
|
||||||
sudo pip install pip --upgrade
|
|
||||||
sudo pip install remote_pdb rainbow pdbpp
|
|
||||||
|
|
||||||
# 6. copy configuration for bash, git, tmux
|
# 6. copy configuration for bash, git, tmux
|
||||||
common_conf
|
common_conf
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user