tweb: add Chromium support on FreeBSD - plan9port - [fork] Plan 9 from user space
git clone git://src.adamsgaard.dk/plan9port
Log
Files
Refs
README
LICENSE
---
commit 67d25b6fb0ec561de501f2df969c9cad999672d0
parent 3f8ac29339ad67f05d32064fcc810035d55a3985
Author: David du Colombier <0intro@gmail.com>
Date:   Sun,  1 Oct 2017 11:43:35 +0200

web: add Chromium support on FreeBSD

On FreeBSD, the Chromium executable is called chrome.

Fixes #108.

Diffstat:
  M bin/web                             |       2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/bin/web b/bin/web
t@@ -34,7 +34,7 @@ plumbunix()
                 $BROWSER -remote 'openURL('"$@"',new-tab)' ||
                 $BROWSER "$@"
                 ;;
-        *google-chrome*|*chromium*)
+        *google-chrome*|*chromium*|*chrome*)
                 $BROWSER "$@"
                 ;;
         esac