From 6c7b7dac1bdd0e243b1faf3306a99ba5517aab2b Mon Sep 17 00:00:00 2001 From: gryf Date: Thu, 17 Sep 2020 13:08:14 +0200 Subject: [PATCH] Don't use pip3 on older ubuntu --- bootstrap.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bootstrap.sh b/bootstrap.sh index 27c2791..e5931b9 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -173,6 +173,9 @@ ubuntu() { 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 + # 5. + sudo pip3 install pip --upgrade + sudo pip3 install remote_pdb rainbow pdbpp ;; '20.04') echo "20.04 is not yet supported" @@ -183,8 +186,6 @@ ubuntu() { # 5. install tools from pypi sudo pip install pip --upgrade sudo pip install remote_pdb rainbow pdbpp - sudo pip3 install pip --upgrade - sudo pip3 install remote_pdb rainbow pdbpp # 6. copy configuration for bash, git, tmux common_conf