chiark / gitweb /
configure.ac, debian/rules: Use `sensible-browser' by default.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 20 Jul 2018 10:44:20 +0000 (11:44 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 20 Jul 2018 11:07:53 +0000 (12:07 +0100)
Use this rather than `x-www-browser' because the former can be
influenced by individual users by setting `BROWSER', while the latter
uses a symlink set by the system administrator and ignores individual
user preferences.

configure.ac
debian/rules

index 3b0429f..023aa9d 100644 (file)
@@ -196,7 +196,7 @@ AC_ARG_WITH([browser],
 
 AC_CACHE_CHECK([default HTML viewer],[rjk_cv_browser],[
   rjk_cv_browser=UNKNOWN
-  for candidate in x-www-browser sensible-browser firefox mozilla konqueror netscape; do
+  for candidate in sensible-browser x-www-browser firefox mozilla konqueror netscape; do
     if type $candidate >/dev/null 2>&1; then
       rjk_cv_browser="$candidate"
       break
index 435f6e2..3e75989 100755 (executable)
@@ -8,7 +8,7 @@ export LC_ALL            = C.UTF-8
 
 cgiexecdir              = /usr/lib/cgi-bin
 httpdir                         = /var/www
-browser                         = x-www-browser
+browser                         = sensible-browser
 
 override_dh_auto_configure:
        [ -f configure ] || ./autogen.sh