From 1ffb3723a3332cd0d848a09ea9aed6b751c6dbe0 Mon Sep 17 00:00:00 2001 From: gryf Date: Thu, 1 Dec 2022 17:50:58 +0100 Subject: [PATCH] Added support for Ubuntu 22.04 --- bootstrap.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/bootstrap.sh b/bootstrap.sh index e07c9c3..508594a 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -54,7 +54,6 @@ COMMON_RPM=(bash-completion COMMON_DEB=(exuberant-ctags flake8 inotify-tools - python-apsw python3-flake8 python3-jedi rlwrap @@ -189,14 +188,21 @@ function ubuntu { # 4. case $DISTRO_R in '16.04') + sudo apt install -y python-apsw sudo pip install pip --upgrade sudo pip install remote_pdb rainbow pdbpp ;; '18.04') + sudo apt install -y python-apsw sudo pip3 install pip --upgrade sudo pip3 install remote_pdb rainbow pdbpp ;; '20.04') + sudo apt install -y python-apsw + sudo pip3 install remote_pdb rainbow pdbpp + ;; + '22.04') + sudo apt install -y python3-apsw sudo pip3 install remote_pdb rainbow pdbpp ;; esac @@ -213,6 +219,10 @@ function ubuntu { --install /usr/bin/python python /usr/bin/python3.8 10 # 5. ;; + '22.04') + sudo update-alternatives \ + --install /usr/bin/python python /usr/bin/python3.10 10 + ;; esac sudo update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 10