File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 3030
3131# Version specific dependencies.
3232declare -A VERSION_DEPS
33- VERSION_DEPS[" 20.04" ]=" universal-ctags python-is-python3"
33+ VERSION_DEPS[" 20.04" ]=" universal-ctags python-is-python3 python3-autopep8 "
3434VERSION_DEPS[" 18.04" ]=" exuberant-ctags"
3535
3636UBUNTU_VERSION=$( lsb_release -rs)
@@ -47,11 +47,9 @@ sudo apt-get --yes update
4747sudo DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends --yes " ${DEPS[@]} " ${OTHER_DEPS[@]}
4848
4949# Add Python package dependencies
50- PYTHON_DEPS=(
51- autopep8
52- )
53-
54- python3 -m pip install " ${PYTHON_DEPS[@]} "
50+ if [[ " x$UBUNTU_VERSION " == " x18.04" ]] ; then
51+ python3 -m pip install autopep8
52+ fi
5553
5654# Get the directory containing this script
5755SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " > /dev/null 2>&1 && pwd ) "
You can’t perform that action at this time.
0 commit comments