projects
/
grml-live.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Drop deprecated firmware-ipw3945 + ipw3945d
[grml-live.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
234e56a
..
67f0998
100755
(executable)
--- a/
etc/grml/fai/config/scripts/GRMLBASE/90-update-alternatives
+++ b/
etc/grml/fai/config/scripts/GRMLBASE/90-update-alternatives
@@
-51,7
+51,10
@@
if [ -r $target/usr/bin/w3m ] ; then
fi
if [ -r $target/usr/bin/wm-ng ] ; then
fi
if [ -r $target/usr/bin/wm-ng ] ; then
- $ROOTCMD update-alternatives --set x-window-manager /usr/bin/wm-ng
+ # activate wm-ng only if it is registered as x-window-manager:
+ if update-alternatives --list x-window-manager | grep -q wm-ng ; then
+ $ROOTCMD update-alternatives --set x-window-manager /usr/bin/wm-ng
+ fi
fi
## END OF FILE #################################################################
fi
## END OF FILE #################################################################