Skip to content

Commit f57e2d4

Browse files
authored
Merge pull request #478 from amiaopensource/opt_homebrew
add path for newer Machintoshes
2 parents e46bdc1 + fc2cd7f commit f57e2d4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/ffmprovisr

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@
66
if [[ "$(uname -s)" = "Darwin" ]] ; then
77
if ping -c 1 amiaopensource.github.io >/dev/null 2>&1 ; then
88
ffmprovisr_path='https://amiaopensource.github.io/ffmprovisr/'
9+
elif [[ -d /usr/local/Cellar/ffmprovisr ]] ; then
10+
ffmprovisr_path=$(find /usr/local/Cellar/ffmprovisr -name 'index.html' | sort -M | tail -n1)
911
else
10-
ffmprovisr_path=$(find /usr/local/Cellar/ffmprovisr -iname 'index.html' | sort -M | tail -n1)
12+
ffmprovisr_path=$(find /opt/homebrew/Cellar/ffmprovisr -name 'index.html' | sort -M | tail -n1)
1113
fi
1214
open "${ffmprovisr_path}"
1315
elif [[ "$(uname -s)" = "Linux" ]] ; then

0 commit comments

Comments
 (0)