Skip to content

Commit

Permalink
remove old HW support from script, as keeping brew up to date didn't …
Browse files Browse the repository at this point in the history
…work some time back
  • Loading branch information
mdrocan committed Jan 11, 2025
1 parent 4f81efc commit 4dcf461
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pip_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@
scriptname=$0

hw=$(uname -m)
if [ "$hw" = x86_64 ]; then
pip3=$(find "/usr/local/bin" -iname pip3.11)
elif [ "$hw" = arm64 ]; then
pip3=$(find "/opt/homebrew/opt/python@3.12/bin" -iname pip3.12)
if [ "$hw" = arm64 ]; then
pip3=$(find "/opt/homebrew/opt/python@3.13/bin" -iname pip3.13)
else
exit 1
fi
Expand Down

0 comments on commit 4dcf461

Please sign in to comment.