diff --git a/etc/results_to_netscape b/etc/results_to_netscape index d170056c68d51fe18a652b598ed43b609ccc193f..e15c4d976bc0763da07f6cf8f12d0ba2c3640214 100755 --- a/etc/results_to_netscape +++ b/etc/results_to_netscape @@ -17,6 +17,9 @@ then elif [ -f "/usr/bin/mozilla" ] then NETSCAPE=/usr/bin/mozilla +elif [ -f "/usr/bin/open" ] +then + NETSCAPE=/usr/bin/open elif [ -f "/Applications/Safari.app/Contents/MacOS/Safari" ] then NETSCAPE=/Applications/Safari.app/Contents/MacOS/Safari @@ -229,7 +232,11 @@ echo "rm -f $new_file > /dev/null 2>&1" | at now + 12 hours # MAC OS X => Safari browser # The command then is the following -if [ -f "/Applications/Safari.app/Contents/MacOS/Safari" ] +if [ -f "/usr/bin/open" ] +then + /usr/bin/open $new_file + exit 0 +elif [ -f "/Applications/Safari.app/Contents/MacOS/Safari" ] then if $NETSCAPE $new_file then