Bug 2877 - /etc/profile.d/kde.sh is broken
/etc/profile.d/kde.sh is broken
Status: CLOSED ERRATA
Product: Red Hat Linux
Classification: Retired
Component: kdesupport (Show other bugs)
6.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-05-17 11:48 EDT by Steve Muir
Modified: 2008-05-01 11:37 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-06-22 10:31:31 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Steve Muir 1999-05-17 11:48:46 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').
Comment 1 Preston Brown 1999-06-11 12:09:59 EDT
It is proper for KDEDIR to be set to /usr.  Why do you think
otherwise?

However, you are right that /usr/bin should _not_ be appended to the
beginning of the path.  This will be fixed in an errata.
Comment 2 Preston Brown 1999-06-22 10:31:59 EDT
closed in RHSA-1999:015-01.

Note You need to log in before you can comment on or make changes to this bug.