2 # Filename: /etc/grml/fai/config/scripts/GRMLBASE/90-update-alternatives
3 # Purpose: set up /etc/alternatives/* according to grml preferences
4 # Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
5 # Bug-Reports: see http://grml.org/bugs/
6 # License: This file is licensed under the GPL v2 or any later version.
7 # Latest change: Mon Oct 15 18:57:56 CEST 2007 [mika]
8 ################################################################################
13 if [ -r $target/usr/bin/vim.basic ] ; then
14 $ROOTCMD update-alternatives --set editor /usr/bin/vim.basic
17 if [ -r $target/usr/bin/uxterm ] ; then
18 $ROOTCMD update-alternatives --set x-terminal-emulator /usr/bin/uxterm
19 elif [ -r $target/usr/bin/xterm ] ; then
20 $ROOTCMD update-alternatives --set x-terminal-emulator /usr/bin/xterm
23 if [ -r $target/etc/X11/cursors/whiteglass.theme ] ; then
24 $ROOTCMD update-alternatives --set x-cursor-theme /etc/X11/cursors/whiteglass.theme
27 if [ -r $target/usr/bin/iceweasel ] ; then
28 $ROOTCMD update-alternatives --set x-www-browser /usr/bin/iceweasel
31 if [ -r $target/usr/bin/w3m ] ; then
32 $ROOTCMD update-alternatives --set www-browser /usr/bin/w3m
35 ## END OF FILE #################################################################
36 # vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=3