Skip to content

Commit

Permalink
If brew is not installed, use /usr prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Feb 1, 2025
1 parent 47403cf commit 1775ac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion depends/install_libavif.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ version=1.1.1

pushd libavif-$version

if [ $(uname) == "Darwin" ]; then
if [ $(uname) == "Darwin" ] && [ -x "$(command -v brew)" ]; then
PREFIX=$(brew --prefix)
else
PREFIX=/usr
Expand Down

0 comments on commit 1775ac9

Please sign in to comment.