From bf292d0a5dfd93418e8ec422708fd33c5b7afdbe Mon Sep 17 00:00:00 2001 From: Michael Janczyk Date: Tue, 2 Sep 2008 19:15:37 +0000 Subject: 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 --- os-plugins/plugins/desktop/OpenSLX/Distro/Ubuntu.pm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'os-plugins/plugins') 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; } -- cgit v1.2.3-55-g7522