opnsense-ports/graphics/opendx/files/patch-bin_url_handler.sh
Franco Fichtner 361bb99c0e */*: sync with upstream
Taken from: FreeBSD
2016-10-03 04:30:21 +02:00

13 lines
358 B
Bash

--- bin/url_handler.sh.orig 2002-04-10 23:32:54 UTC
+++ bin/url_handler.sh
@@ -39,8 +39,8 @@ case $method in
if [ $use_xbrowser = n ]; then
lynx "$url"
else
- netscape -remote "openURL($url)" 2> /dev/null || \
- (netscape "$url" &)
+ $BROWSER -remote "openURL($url)" 2> /dev/null || \
+ ($BROWSER "$url" &)
fi
;;
esac