web: fix plumbing with Firefox

Default builds of Firefox remove the previous X remote interface,
now causing the use of -remote to silently exit and do nothing.

https://hg.mozilla.org/mozilla-central/rev/ef22d8cbf4ef
This commit is contained in:
mmnmnnmnmm 2022-08-19 11:09:43 +01:00 committed by Dan Cross
parent e4b913866b
commit 28e91cd879

View file

@ -27,7 +27,7 @@ plumbunix()
$BROWSER -remote 'openURL('"$@"',new-window)'
;;
*firefox*)
$BROWSER -remote 'openURL('"$@"',new-tab)' ||
$BROWSER --new-tab "$@" ||
$BROWSER "$@"
;;
*mozilla*)