+++ /dev/null
-# Mozilla User Preferences
-
-/* Do not edit this file.
- *
- * If you make changes to this file while the browser is running,
- * the changes will be overwritten when the browser exits.
- *
- * To make a manual change to preferences, you can visit the URL about:config
- * For more information, see http://www.mozilla.org/unix/customizing.html#prefs
- */
-
-/* Added by grml-live */
-user_pref("browser.startup.homepage","/usr/share/doc/grml-docs/startpage.html");
-
$ROOTCMD update-alternatives --set x-www-browser /usr/bin/iceweasel
fi
+if $ROOTCMD update-alternatives --list x-www-browser 2>/dev/null | grep -q '/firefox-esr' ; then
+ echo "Setting firefox-esr as x-www-browser using update-alternatives."
+ $ROOTCMD update-alternatives --set x-www-browser /usr/bin/firefox-esr
+fi
+
if $ROOTCMD update-alternatives --list www-browser 2>/dev/null | grep -q '/w3m' ; then
echo "Setting w3m as www-browser using update-alternatives."
$ROOTCMD update-alternatives --set www-browser /usr/bin/w3m
+++ /dev/null
-#!/bin/bash
-# Filename: ${GRML_FAI_CONFIG}/config/scripts/GRML_FULL/01-iceweasel
-# Purpose: add startpage to Iceweasel
-# 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.
-################################################################################
-
-set -u
-set -e
-
-fcopy -B -v /etc/iceweasel/profile/prefs.js
-
-## END OF FILE #################################################################
-# vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=2