From: Michael Prokop Date: Tue, 7 Dec 2010 19:10:09 +0000 (+0100) Subject: 90-update-alternatives: make sure to run the update-alternatives listing for x-window... X-Git-Tag: v0.12.2~4 X-Git-Url: https://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=c8e2121d4fb58568f0143ef4b853e932f8fd1ad3 90-update-alternatives: make sure to run the update-alternatives listing for x-window-manager inside the target chroot. --- diff --git a/etc/grml/fai/config/scripts/GRMLBASE/90-update-alternatives b/etc/grml/fai/config/scripts/GRMLBASE/90-update-alternatives index 5aff20d..56a365e 100755 --- a/etc/grml/fai/config/scripts/GRMLBASE/90-update-alternatives +++ b/etc/grml/fai/config/scripts/GRMLBASE/90-update-alternatives @@ -52,7 +52,7 @@ fi if [ -r $target/usr/bin/wm-ng ] ; then # activate wm-ng only if it is registered as x-window-manager: - if update-alternatives --list x-window-manager | grep -q wm-ng ; then + if $ROOTCMD update-alternatives --list x-window-manager | grep -q wm-ng ; then $ROOTCMD update-alternatives --set x-window-manager /usr/bin/wm-ng fi fi