From 9c955b591ce0e79d5d23869493a4def9f45effae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20=C5=A0urda?= Date: Mon, 25 Apr 2022 16:08:59 +0800 Subject: [PATCH] Python package source workaround - system pythohn packages have priority over deadsnakes PPA --- travis2bash.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/travis2bash.sh b/travis2bash.sh index 37b92d9..8b4a1d7 100755 --- a/travis2bash.sh +++ b/travis2bash.sh @@ -189,9 +189,9 @@ if [[ "$(declare -p travis_python)" =~ "declare -a" ]]; then echo "skipping python-$pv due to TRAVIS_PYTHON=$TRAVIS_PYTHON" continue fi - #if [ ! -e "$ppath" ]; then - sudo apt -y install "python$pv" "python${pv}-dev" - #fi + if [ ! -e "$ppath" ]; then + sudo apt -y install "python$pv" "python${pv}-dev" + fi if [ -n "$options" ]; then virtualenv_init "$ppath" "$pv" "$options"