Commit 3b499485 authored by Vitaly Lipatov's avatar Vitaly Lipatov

add support xdg-open instead BROWSER

parent 6a6fbeb6
......@@ -12,7 +12,7 @@
# load common functions, compatible with local and installed script
. `dirname $0`/../share/eterbuild/functions/common
[ -n "$BROWSER" ] || BROWSER=url_handler.sh
which xdg-open 2>/dev/null >/dev/null && BROWSER=xdg-open
show_bugs()
{
......
......@@ -11,7 +11,8 @@
# load common functions, compatible with local and installed script
. `dirname $0`/../share/eterbuild/functions/common
[ -n "$BROWSER" ] || BROWSER=url_handler.sh
which xdg-open 2>/dev/null >/dev/null && BROWSER=xdg-open
# (command from perl-libwww)
which GET &>/dev/null && GET=GET || GET=false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment