90-update-alternatives: use wm-ng as default x-window-manager
[grml-live.git] / etc / grml / fai / config / scripts / GRMLBASE / 90-update-alternatives
index d8487b3..234e56a 100755 (executable)
@@ -21,9 +21,9 @@ set -u
       # $ROOTCMD update-alternatives --set editor /usr/bin/vim.tiny
       # $ROOTCMD update-alternatives --set vi     /usr/bin/vim.tiny
       $ROOTCMD ln -sf /etc/alternatives/editor /usr/bin/editor
-      $ROOTCMD ln -sf /usr/bin/vim.tiny /etc/alternatives/editor 
+      $ROOTCMD ln -sf /usr/bin/vim.tiny /etc/alternatives/editor
       $ROOTCMD ln -sf /etc/alternatives/vi /usr/bin/vi
-      $ROOTCMD ln -sf /usr/bin/vim.tiny /etc/alternatives/vi 
+      $ROOTCMD ln -sf /usr/bin/vim.tiny /etc/alternatives/vi
    fi
 fi
 
@@ -50,5 +50,9 @@ if [ -r $target/usr/bin/w3m ] ; then
    $ROOTCMD update-alternatives --set www-browser /usr/bin/w3m
 fi
 
+if [ -r $target/usr/bin/wm-ng ] ; then
+   $ROOTCMD update-alternatives --set x-window-manager /usr/bin/wm-ng
+fi
+
 ## END OF FILE #################################################################
 # vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=3