mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-03-01 00:59:23 +01:00
This reverts commit 240f28d5dc
.
This commit is contained in:
parent
81e5fae6dc
commit
e70f4b7197
1 changed files with 8 additions and 0 deletions
|
@ -391,6 +391,14 @@ else
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# don't protect system packages from pip install
|
||||||
|
# tracking issue: https://github.com/raspiblitz/raspiblitz/issues/4170
|
||||||
|
for PYTHONDIR in /usr/lib/python3.*; do
|
||||||
|
if [ -f "$PYTHONDIR/EXTERNALLY-MANAGED" ]; then
|
||||||
|
rm "$PYTHONDIR/EXTERNALLY-MANAGED"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
# make sure /usr/bin/pip exists (and calls pip3 in Debian Buster)
|
# make sure /usr/bin/pip exists (and calls pip3 in Debian Buster)
|
||||||
update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 1
|
update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 1
|
||||||
# 1. libs (for global python scripts)
|
# 1. libs (for global python scripts)
|
||||||
|
|
Loading…
Add table
Reference in a new issue