90-update-alternatives: use wm-ng as default x-window-manager
authorMichael Prokop <mika@grml.org>
Wed, 5 Aug 2009 02:19:29 +0000 (04:19 +0200)
committerMichael Prokop <mika@grml.org>
Wed, 5 Aug 2009 02:19:29 +0000 (04:19 +0200)
debian/changelog
etc/grml/fai/config/scripts/GRMLBASE/90-update-alternatives

index 2d808ef..dd7227d 100644 (file)
@@ -11,8 +11,10 @@ grml-live (0.9.21) UNRELEASED; urgency=low
   * grml_cleanup_chroot: get rid of /etc/lvm/cache/.cache and
     /etc/lvm/backup/main as well.
   * grml_cleanup_chroot: drop the /usr/include/linux checks.
+  * 90-update-alternatives: use wm-ng as default x-window-manager.
+    [Closes: issue716]
 
- -- Michael Prokop <mika@grml.org>  Wed, 05 Aug 2009 03:51:58 +0200
+ -- Michael Prokop <mika@grml.org>  Wed, 05 Aug 2009 04:19:14 +0200
 
 grml-live (0.9.20) unstable; urgency=low
 
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