In /etc/profile.d/kde.csh, there's a line which says: echo ${PATH} | grep -q ${kdepath} This doesn't check whether an entire PATH component matches ${kdepath}; it may match a substring of a PATH component (e.g. if kdepath=/usr/local/bin, and I have /usr/local/bin/scripts on my PATH but *not* /usr/local/bin, grep will still exit with a success code...bad example, but you get the idea). Presumably a better plan would be something like: echo ${PATH} | egrep -q '(:|^)'"${kdepath}"'(:|$)' Similarly in /etc/profile.d/kde.sh
fixed in kdesupport-1.1.2-19
Looks like this has reverted to the previous broken code in kdesupport-2.1-3.