Use iceweasel/firefox as x-www-browser and w3m as www-browser
authorMichael Prokop <devnull@localhost>
Sat, 6 Oct 2007 11:04:49 +0000 (13:04 +0200)
committerMichael Prokop <devnull@localhost>
Sat, 6 Oct 2007 11:04:49 +0000 (13:04 +0200)
debian/changelog
etc/grml/fai/config/scripts/GRMLBASE/90-update-alternatives

index 384ab1d..46545b7 100644 (file)
@@ -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 <mika@grml.org>  Thu, 04 Oct 2007 22:16:34 +0200
 
index d76170b..977c5db 100755 (executable)
@@ -4,7 +4,7 @@
 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
 # 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