summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/vmchooser/OpenSLX/Distro/Base.pm
diff options
context:
space:
mode:
authorDirk von Suchodoletz2010-02-28 17:52:02 +0100
committerDirk von Suchodoletz2010-02-28 17:52:02 +0100
commit93b96836f5bfd34ebfed8c9d004b679b5ba96506 (patch)
treee7b44e845398d664697976e5b530ce172954fe99 /os-plugins/plugins/vmchooser/OpenSLX/Distro/Base.pm
parentAdd slx binary path (var/opt/openslx/bin), fix console-kit-daemon issue (diff)
downloadcore-93b96836f5bfd34ebfed8c9d004b679b5ba96506.tar.gz
core-93b96836f5bfd34ebfed8c9d004b679b5ba96506.tar.xz
core-93b96836f5bfd34ebfed8c9d004b679b5ba96506.zip
Changing directory 'X11/sessions' to 'X11/session' as this one seems to
be the proper one ...
Diffstat (limited to 'os-plugins/plugins/vmchooser/OpenSLX/Distro/Base.pm')
-rw-r--r--os-plugins/plugins/vmchooser/OpenSLX/Distro/Base.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/os-plugins/plugins/vmchooser/OpenSLX/Distro/Base.pm b/os-plugins/plugins/vmchooser/OpenSLX/Distro/Base.pm
index ba8a32b0..43e4ea1f 100644
--- a/os-plugins/plugins/vmchooser/OpenSLX/Distro/Base.pm
+++ b/os-plugins/plugins/vmchooser/OpenSLX/Distro/Base.pm
@@ -54,11 +54,11 @@ sub copyDefaultSession
# Take the default path of SuSE
# (as we have the most experience with it)
- if( -f "/etc/X11/sessions/default.desktop") {
- rename("/etc/X11/sessions/default.desktop",
- "/etc/X11/sessions/default.desktop.back")
+ if( -f "/etc/X11/session/default.desktop") {
+ rename("/etc/X11/session/default.desktop",
+ "/etc/X11/session/default.desktop.back")
}
- copyFile("$pluginroot/default.desktop","/etc/X11/sessions");
+ copyFile("$pluginroot/default.desktop","/etc/X11/session");
return 1;
} \ No newline at end of file