projects
/
grml-live-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SW: Remove xvncviewer from GRML_FULL (unavailable).
[grml-live-grml.git]
/
etc
/
grml
/
fai
/
config
/
scripts
/
GRMLBASE
/
90-update-alternatives
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
(executable)
--- 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 [ -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
$ROOTCMD update-alternatives --set x-window-manager /usr/bin/wm-ng
fi
fi