X-Git-Url: http://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fconfig%2Fscripts%2FGRMLBASE%2F90-update-alternatives;fp=etc%2Fgrml%2Ffai%2Fconfig%2Fscripts%2FGRMLBASE%2F90-update-alternatives;h=56a365e63d8ae5dedac61cb557b056b5446c5892;hp=5aff20d79513f786e3ffe9f3741424b3e92bddfe;hb=c8e2121d4fb58568f0143ef4b853e932f8fd1ad3;hpb=e1fe30c68b3126998e6e7f9ea92405f055529006 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