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

Check ubuntu version

This commit is contained in:
2019-06-20 10:33:42 +02:00
parent f00401dba3
commit 85189421ab

View File

@@ -3,10 +3,19 @@
# 1. update
sudo apt update && sudo apt -y upgrade
# 2. install tools
sudo apt install -y vim-gtk-py2 mc python-jedi python3-jedi htop \
lsb_release -a 2>/dev/null | grep -q bionic
if [[ $? -eq 0 ]]; then
PGS=vim-gtk mc python-jedi python3-jedi htop \
python-flake8 python3-flake8 exuberant-ctags pylint flake8 pylint3 \
git-review silversearcher-ag python-apsw ccze python-pip
else
PGS=vim-gtk-py2 mc python-jedi python3-jedi htop \
python-flake8 python3-flake8 exuberant-ctags pylint flake8 pylint3 \
git-review silversearcher-ag python-apsw ccze python-pip
fi
# 2. install tools
sudo apt install -y $PGS
# 3. cleanup
sudo apt-get autoremove && sudo apt-get autoclean