Skip to content

Commit

Permalink
Remove EXTERNALLY-MANAGED
Browse files Browse the repository at this point in the history
  • Loading branch information
radio24 committed Dec 16, 2023
1 parent 03daa53 commit df535ad
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion install/run_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ echo -e "${RED}[+] Installing ${WHITE}Python modules${NOCOLOR}"
echo ""

# NEW v.0.5.3: For RaspberryPi OS based on Debian Bookworm needed
PYTHON_LIB_PATH=$(python3 -c "import sys; print(sys.path)" | cut -d ',' -f3 | sed "s/'//g" | sed "s/,//g")
PYTHON_LIB_PATH=$(python3 -c "import sys; print(sys.path)" | cut -d ',' -f3 | sed "s/'//g" | sed "s/,//g" | sed "s/ //g")
if [ -f "$PYTHON_LIB_PATH/EXTERNALLY-MANAGED" ] ; then
sudo rm "$PYTHON_LIB_PATH/EXTERNALLY-MANAGED"
fi
Expand Down
2 changes: 1 addition & 1 deletion install/run_install_on_debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ echo -e "${RED}[+] Installing ${WHITE}Python modules${NOCOLOR}"
echo ""

# NEW v.0.5.3: For Debian 12 needed
PYTHON_LIB_PATH=$(python3 -c "import sys; print(sys.path)" | cut -d ' ' -f3 | sed "s/'//g" | sed "s/,//g" | sed "s/.zip//g")
PYTHON_LIB_PATH=$(python3 -c "import sys; print(sys.path)" | cut -d ' ' -f3 | sed "s/'//g" | sed "s/,//g" | sed "s/.zip//g" | sed "s/ //g")
if [ -f "$PYTHON_LIB_PATH/EXTERNALLY-MANAGED" ] ; then
rm "$PYTHON_LIB_PATH/EXTERNALLY-MANAGED"
fi
Expand Down
2 changes: 1 addition & 1 deletion install/run_install_on_ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ echo -e "${RED}[+] Installing ${WHITE}Python modules${NOCOLOR}"
echo ""

# NEW v.0.5.3
PYTHON_LIB_PATH=$(python -c "import sys; print(sys.path)" | cut -d ' ' -f3 | sed "s/'//g" | sed "s/,//g" | sed "s/.zip//g")
PYTHON_LIB_PATH=$(python -c "import sys; print(sys.path)" | cut -d ' ' -f3 | sed "s/'//g" | sed "s/,//g" | sed "s/.zip//g" | sed "s/ //g")
if [ -f "$PYTHON_LIB_PATH/EXTERNALLY-MANAGED" ] ; then
sudo rm "$PYTHON_LIB_PATH/EXTERNALLY-MANAGED"
fi
Expand Down

0 comments on commit df535ad

Please sign in to comment.