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.
This commit is contained in:
Eli Schwartz 2023-10-03 11:43:28 -04:00
parent 1f000de55a
commit 7143a695fd
No known key found for this signature in database
GPG Key ID: CEB167EFB5722BD6
1 changed files with 2 additions and 2 deletions

View File

@ -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[@]}" $*
}