summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/xserver/OpenSLX/Distro
diff options
context:
space:
mode:
authorDirk von Suchodoletz2010-08-06 23:15:29 +0200
committerDirk von Suchodoletz2010-08-06 23:15:29 +0200
commit134a597db77ef479383371d75b42801c7626aa2b (patch)
treed4d5571bc7f3492ad313021a88a3b73689dea283 /os-plugins/plugins/xserver/OpenSLX/Distro
parentSome minor cleanups for the re-written Xserver plugin ... still to be (diff)
downloadcore-134a597db77ef479383371d75b42801c7626aa2b.tar.gz
core-134a597db77ef479383371d75b42801c7626aa2b.tar.xz
core-134a597db77ef479383371d75b42801c7626aa2b.zip
Minor changes for the Xserver plugin stuff ...
Diffstat (limited to 'os-plugins/plugins/xserver/OpenSLX/Distro')
-rw-r--r--os-plugins/plugins/xserver/OpenSLX/Distro/Suse.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/os-plugins/plugins/xserver/OpenSLX/Distro/Suse.pm b/os-plugins/plugins/xserver/OpenSLX/Distro/Suse.pm
index 90fe5086..55f42117 100644
--- a/os-plugins/plugins/xserver/OpenSLX/Distro/Suse.pm
+++ b/os-plugins/plugins/xserver/OpenSLX/Distro/Suse.pm
@@ -42,7 +42,8 @@ sub setupXserverScript
$script .= unshiftHereDoc(<<' End-of-Here');
# SuSE specific extension to stage3 xserver.sh
# Xorg hardware is autodetected, so no module information provided
- sed -e "/Section \"Device\"/,/EndSection/d" -i ${xfc}
+ [ -z "${xmodule}" ] && \
+ sed "/Section \"Device\"/,/EndSection/d" -i ${xfc}
testmkd /mnt/etc/X11/xorg.conf.d
testmkd /mnt/var/lib/xkb/compiled
testmkd /mnt/var/lib/X11