diff options
Diffstat (limited to 'os-plugins/plugins/desktop/OpenSLX/Distro/Ubuntu.pm')
-rw-r--r-- | os-plugins/plugins/desktop/OpenSLX/Distro/Ubuntu.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/os-plugins/plugins/desktop/OpenSLX/Distro/Ubuntu.pm b/os-plugins/plugins/desktop/OpenSLX/Distro/Ubuntu.pm index 1c78b0c5..2ba2f85d 100644 --- a/os-plugins/plugins/desktop/OpenSLX/Distro/Ubuntu.pm +++ b/os-plugins/plugins/desktop/OpenSLX/Distro/Ubuntu.pm @@ -133,7 +133,10 @@ sub setupKDEHOME awk {'print $2'})-ubuntu" End-of-Here - spitFile($path, $script); + appendFile($path, $script); + # TODO: a nicer solution to this hack + # ensures, that .kde-.../share/apps directory exists + # otherwise KDE progs will complain every time with a warning window 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," \ |