1 --- startkde.cmake.orig 2009-01-15 14:24:44.000000000 +0100
2 +++ startkde.cmake 2009-01-15 14:33:08.000000000 +0100
7 -# in case we have been started with full pathname spec without being in PATH
8 -bindir=`echo "$0" | sed -n 's,^\(/.*\)/[^/][^/]*$,\1,p'`
9 -if [ -n "$bindir" ]; then
10 - qbindir=`$bindir/kde4-config --qt-binaries`
11 - if [ -n "$qbindir" ]; then
13 - $qbindir|$qbindir:*|*:$qbindir|*:$qbindir:*) ;;
14 - *) PATH=$qbindir:$PATH; export PATH;;
18 - $bindir|$bindir:*|*:$bindir|*:$bindir:*) ;;
19 - *) PATH=$bindir:$PATH; export PATH;;
25 # kdeinit is used to fork off processes which improves memory usage
27 # For anything else (that doesn't set env vars, or that needs a window manager),
28 # better use the Autostart folder.
30 -libpath=`kde4-config --path lib | tr : '\n'`
31 +libpath=`kde4-config --path lib | tr : '\n'`$(echo -e '\n/etc/kde/lib/')
33 for prefix in `echo "$libpath" | sed -n -e 's,/lib[^/]*/,/env/,p'`; do
34 for file in "$prefix"*.sh; do