Re: Usage of env and shutdown directories of KDE

2011-04-25 Thread Ingo Klöcker
On Monday 25 April 2011, Oswald Buddenhagen wrote: > > On Monday 25 April 2011, Gökçen Eraslan wrote: > > > So, if a distro uses "/usr/lib" as libdir, sh files are searched > > > in ~/.kde and /usr/env directories since kde4-config is called > > > with "--path lib" parameters. This is the case in P

Re: Usage of env and shutdown directories of KDE

2011-04-25 Thread Oswald Buddenhagen
> On Monday 25 April 2011, Gökçen Eraslan wrote: > > So, if a distro uses "/usr/lib" as libdir, sh files are searched in > > ~/.kde and /usr/env directories since kde4-config is called with > > "--path lib" parameters. This is the case in Pardus and Kubuntu > > 10.10. openSUSE patched[1] startkde t

Re: Usage of env and shutdown directories of KDE

2011-04-25 Thread Ingo Klöcker
On Monday 25 April 2011, Gökçen Eraslan wrote: > Hi, > > I've confused about the path of the env and shutdown directories of > KDE. In startkde script, env directory is sourced like this: > > libpath=`kde4-config --path lib | tr : '\n'` > > for prefix in `echo "$libpath" | sed -n -e 's,/lib[^/]*

Usage of env and shutdown directories of KDE

2011-04-25 Thread Gökçen Eraslan
Hi, I've confused about the path of the env and shutdown directories of KDE. In startkde script, env directory is sourced like this: libpath=`kde4-config --path lib | tr : '\n'` for prefix in `echo "$libpath" | sed -n -e 's,/lib[^/]*/,/env/,p'`; do for file in "$prefix"*.sh; do test -r "$