They're sourced not executed, so the hashbang can probably go too.
The hashbang was only present in files owned by tlclient. Removed in 29183. Wrt the executable bits, I'd say that they should go. CentOS/RHEL/Fedora typically does not use them. There was even a KDE bug to fix that: https://bugzilla.redhat.com/show_bug.cgi?id=571057. Ubuntu 14.04 has a profile.d directory, but no executable files.
(In reply to comment #1) > Wrt the executable bits, I'd say that they should go. CentOS/RHEL/Fedora > typically does not use them. There was even a KDE bug to fix that: > https://bugzilla.redhat.com/show_bug.cgi?id=571057. Ubuntu 14.04 has a > profile.d directory, but no executable files. Fixed in 29184.
After installation on ubuntu 14.04, build 4522: cendio@ubuntu1404vm:~$ ls -lt /etc/profile.d/t* -rwxr-xr-x 1 root root 1261 Oct 13 19:18 /etc/profile.d/thinlinc.csh -rwxr-xr-x 1 root root 768 Oct 13 19:18 /etc/profile.d/thinlinc.sh -rwxr-xr-x 1 root root 460 Oct 13 18:25 /etc/profile.d/tlclient.csh -rwxr-xr-x 1 root root 301 Oct 13 18:25 /etc/profile.d/tlclient.sh
(In reply to comment #3) > After installation on ubuntu 14.04, build 4522: > > cendio@ubuntu1404vm:~$ ls -lt /etc/profile.d/t* > -rwxr-xr-x 1 root root 1261 Oct 13 19:18 /etc/profile.d/thinlinc.csh > -rwxr-xr-x 1 root root 768 Oct 13 19:18 /etc/profile.d/thinlinc.sh > -rwxr-xr-x 1 root root 460 Oct 13 18:25 /etc/profile.d/tlclient.csh > -rwxr-xr-x 1 root root 301 Oct 13 18:25 /etc/profile.d/tlclient.sh r29503.
(In reply to comment #4) > r29503. $ ls -lt /etc/profile.d/t* -rw-r--r-- 1 root root 1261 Oct 14 19:19 /etc/profile.d/thinlinc.csh -rw-r--r-- 1 root root 768 Oct 14 19:19 /etc/profile.d/thinlinc.sh -rw-r--r-- 1 root root 460 Oct 14 18:25 /etc/profile.d/tlclient.csh -rw-r--r-- 1 root root 301 Oct 14 18:25 /etc/profile.d/tlclient.sh Looks good with build 4523.