From 9db4c365d579ae79d0d14fca218d61573d2f7379 Mon Sep 17 00:00:00 2001 Message-Id: <9db4c365d579ae79d0d14fca218d61573d2f7379.1716592769.git.mdw@distorted.org.uk> From: Mark Wooding Date: Fri, 20 Jul 2018 11:44:20 +0100 Subject: [PATCH 1/1] configure.ac, debian/rules: Use `sensible-browser' by default. Organization: Straylight/Edgeware From: Mark Wooding 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 | 2 +- debian/rules | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 3b0429f..023aa9d 100644 --- a/configure.ac +++ b/configure.ac @@ -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 diff --git a/debian/rules b/debian/rules index 435f6e2..3e75989 100755 --- a/debian/rules +++ b/debian/rules @@ -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 -- [mdw]