File /etc/profile.d/kde.csh (kdesupport-1.1.1-1) is wrong. kdesupport was downloaded from: ftp://ftp.students.cs.unibo.it /Mirrors/ftp.redhat.com/redhat/updates/6.0/ Installed file: ----------------------------------------------------------- # KDE initialization script (csh) if ( $?KDEDIR ) then if ( $KDEDIR == "/usr" ) then exit endif endif setenv KDEDIR /usr kdepath="${KDEDIR}/bin" #This is not a valid csh set if ( echo ${PATH} | grep -q ${kdepath} ) then exit #The if statement is wrong endif setenv PATH "${kdepath}:${PATH}" ----------------------------------------------------------- Edited file: ----------------------------------------------------------- # KDE initialization script (csh) (MODIFIED) if ( $?KDEDIR ) then if ( $KDEDIR == "/usr" ) then exit endif endif setenv KDEDIR /usr echo ${PATH} | grep -q "${KDEDIR}/bin" if ( $status == 0 ) then exit endif setenv PATH "${KDEDIR}/bin:${PATH}" ----------------------------------------------------------- Note. I don't use the variable kdepath (see also kde.sh). I hope this is ok.
*** This bug has been marked as a duplicate of 3686 ***