Red Hat Bugzilla – Bug 2877
/etc/profile.d/kde.sh is broken
Last modified: 2008-05-01 11:37:50 EDT
Two problems withkde.sh:
1) sets KDEDIR incorrectly to /usr. Running kdesetup with
KDEDIR as set by the script produces errors, but unsetting
KDEDIR or setting it to "/" fixes them.
2) prepends $(KDEDIR)/bin to PATH even though it is already
a component of PATH.
kde.sh should be fixed to find the correct value of KDEDIR,
then only add $(KDEDIR)/bin to PATH if not already a
component (use 'type -path').
It is proper for KDEDIR to be set to /usr. Why do you think
However, you are right that /usr/bin should _not_ be appended to the
beginning of the path. This will be fixed in an errata.
closed in RHSA-1999:015-01.