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