From 240f28d5dc8fd01df6322b8b025bca699bb287e5 Mon Sep 17 00:00:00 2001 From: openoms <43343391+openoms@users.noreply.github.com> Date: Fri, 9 Feb 2024 15:19:47 +0000 Subject: [PATCH] build: remove externally-managed flag for python (#4400) --- build_sdcard.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/build_sdcard.sh b/build_sdcard.sh index 62648dd86..aefbae295 100644 --- a/build_sdcard.sh +++ b/build_sdcard.sh @@ -391,14 +391,6 @@ else exit 1 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) update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 1 # 1. libs (for global python scripts)