CI: fix the fix for python actually being mildly useful

In commit 5c479d7a13, we deleted bad stuff
that makes python not work. But we missed the case where it is installed
to lib64.
1.2
Eli Schwartz 1 year ago committed by Nirbheek Chauhan
parent e03bcf7d68
commit 2d01821b9f
  1. 4
      ci/ciimage/common.sh

@ -39,11 +39,11 @@ dub_fetch() {
}
install_minimal_python_packages() {
rm -f /usr/lib/python3.*/EXTERNALLY-MANAGED
rm -f /usr/lib*/python3.*/EXTERNALLY-MANAGED
python3 -m pip install "${base_python_pkgs[@]}" $*
}
install_python_packages() {
rm -f /usr/lib/python3.*/EXTERNALLY-MANAGED
rm -f /usr/lib*/python3.*/EXTERNALLY-MANAGED
python3 -m pip install "${base_python_pkgs[@]}" "${python_pkgs[@]}" $*
}

Loading…
Cancel
Save