You guys are correct on -r issue. As I tested on bash and dash, checking for -f returns true for symlink and file. So [ -f "$f" ] && [ -r "$f" ] should be OK as I fixed here. [ -r $f -a ! -d $f ] && . $f && break is as good.
But I do not understand the meaning of following: [ ! ] So I did not include it. If I am incorrect, please tell me. As for ennvironment variable, GDM reset it per its configuration even if you set it before in /etc/environment. Look into ~/.dmrc which set it. I will upload new version soon. -- ~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ +++++ Osamu Aoki <[EMAIL PROTECTED]> Yokohama Japan, GPG-key: A8061F32 .''`. Debian Reference: post-installation user's guide for non-developers : :' : http://qref.sf.net and http://people.debian.org/~osamu `. `' "Our Priorities are Our Users and Free Software" --- Social Contract -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]