Skip to content

Commit

Permalink
Use Firefox as default browser if present and drop iceweasel config
Browse files Browse the repository at this point in the history
The "Iceweasel Age"[1] has ended and we can use Firefox again and
therefore use firefox as x-www-browser.

Unfortunately overriding the default homepage via
/etc/iceweasel/profile/prefs.js does not work anymore therefor dropping
the iceweasel configuration. (See: grml/grml#18)

[1] https://lwn.net/Articles/676799/

Closes grml/grml#15
  • Loading branch information
jkirk committed May 5, 2017
1 parent b1addd4 commit 02f844a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 29 deletions.
14 changes: 0 additions & 14 deletions etc/grml/fai/config/files/etc/iceweasel/profile/prefs.js/GRML_FULL

This file was deleted.

5 changes: 5 additions & 0 deletions etc/grml/fai/config/scripts/GRMLBASE/90-update-alternatives
Expand Up @@ -45,6 +45,11 @@ if $ROOTCMD update-alternatives --list x-www-browser 2>/dev/null | grep -q '/ice
$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
Expand Down
15 changes: 0 additions & 15 deletions etc/grml/fai/config/scripts/GRML_FULL/01-iceweasel

This file was deleted.

0 comments on commit 02f844a

Please sign in to comment.