summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/desktop/OpenSLX/Distro/Ubuntu.pm
diff options
context:
space:
mode:
authorMichael Janczyk2008-09-02 21:15:37 +0200
committerMichael Janczyk2008-09-02 21:15:37 +0200
commitbf292d0a5dfd93418e8ec422708fd33c5b7afdbe (patch)
treede277778c3c3c25f86d50e50819740ca4717c73c /os-plugins/plugins/desktop/OpenSLX/Distro/Ubuntu.pm
parentUpdated stage2 exludes (autostarted services of no much use in (diff)
downloadcore-bf292d0a5dfd93418e8ec422708fd33c5b7afdbe.tar.gz
core-bf292d0a5dfd93418e8ec422708fd33c5b7afdbe.tar.xz
core-bf292d0a5dfd93418e8ec422708fd33c5b7afdbe.zip
ugly hack to ensure, that .kde-.../share/apps directory exists, otherwise KDE progs will complain every time with an warning window
maybe suse and other systems need this hack as well. and maybe s.o. will find a better solution to this problem. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2192 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/desktop/OpenSLX/Distro/Ubuntu.pm')
-rw-r--r--os-plugins/plugins/desktop/OpenSLX/Distro/Ubuntu.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/os-plugins/plugins/desktop/OpenSLX/Distro/Ubuntu.pm b/os-plugins/plugins/desktop/OpenSLX/Distro/Ubuntu.pm
index 8e2bfbb5..1c78b0c5 100644
--- a/os-plugins/plugins/desktop/OpenSLX/Distro/Ubuntu.pm
+++ b/os-plugins/plugins/desktop/OpenSLX/Distro/Ubuntu.pm
@@ -134,6 +134,10 @@ sub setupKDEHOME
End-of-Here
spitFile($path, $script);
+ system('grep -q "mkdir -m 700 -p \$kdehome/share/apps" /usr/bin/startkde ||\
+ sed -i -e "s,mkdir -m 700 -p \$kdehome/share/config,\
+mkdir -m 700 -p \$kdehome/share/config\nmkdir -m 700 -p \$kdehome/share/apps," \
+ /usr/bin/startkde');
return;
}