Setup file for startkde
Martin Koller
m.koller at surfeu.at
Sat Feb 21 10:57:47 GMT 2004
On Saturday 21 February 2004 10:22, David Faure wrote:
> +for prefix in `kde-config --path exe| sed -e 's^bin/^setup/^g;s^:^ ^g'`;
> do + for file in $prefix/*; do
> + if echo "$file" | grep -v "~$" | grep -v "\.bak$" >/dev/null
> 2>/dev/null; then + test -f $file && . $file
> + fi
> + done
> +done
Isn't the way /etc/profile.d does it a kind of "standard" - meaning that the
scripts should have <name>.sh ?
I think this would also be more correct because you do not execute the script
but source it (". $file"), and ".sh" tells the user, this has to be in sh
syntax.
Other comment: Isn't the opposite of shutdown -> startup (instead of setup) ?
--
Best regards/Schöne Grüße
Martin
registered as user #332716 with the Linux Counter, http://counter.li.org
Some operating systems are called 'user friendly',
Linux however is 'expert friendly'.
More information about the kde-core-devel
mailing list