From d7ed1ccea58431bdcaf03a36b7150887d5b3ee2c Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Sat, 6 Oct 2007 13:04:49 +0200 Subject: [PATCH] Use iceweasel/firefox as x-www-browser and w3m as www-browser --- debian/changelog | 2 ++ etc/grml/fai/config/scripts/GRMLBASE/90-update-alternatives | 10 +++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 384ab1d..46545b7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -18,6 +18,8 @@ grml-live (0.0.4) unstable; urgency=low * Set $HOSTNAME to according hostname via /etc/grml/fai/config/scripts/GRMLBASE/34-hosts * Adjust filename in header of /etc/grml/fai/config/scripts/GRMLBASE/*. + * Use iceweasel/firefox as x-www-browser and w3m as www-browser (if + available). -- Michael Prokop Thu, 04 Oct 2007 22:16:34 +0200 diff --git a/etc/grml/fai/config/scripts/GRMLBASE/90-update-alternatives b/etc/grml/fai/config/scripts/GRMLBASE/90-update-alternatives index d76170b..977c5db 100755 --- a/etc/grml/fai/config/scripts/GRMLBASE/90-update-alternatives +++ b/etc/grml/fai/config/scripts/GRMLBASE/90-update-alternatives @@ -4,7 +4,7 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2 or any later version. -# Latest change: Sun Sep 16 23:02:53 CEST 2007 [mika] +# Latest change: Sat Oct 06 13:04:13 CEST 2007 [mika] ################################################################################ set -u @@ -22,5 +22,13 @@ if [ -r $target/etc/X11/cursors/whiteglass.theme ] ; then $ROOTCMD update-alternatives --set x-cursor-theme /etc/X11/cursors/whiteglass.theme fi +if [ -r $target/usr/bin/iceweasel ] ; then + $ROOTCMD update-alternatives --set x-www-browser /usr/bin/iceweasel +fi + +if [ -r $target/usr/bin/w3m ] ; then + $ROOTCMD update-alternatives --set www-browser /usr/bin/w3m +fi + ## END OF FILE ################################################################# # vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=3 -- 2.1.4