Bug 4141 - /etc/profile.d/kde.csh (kdesupport-1.1.1-1)
/etc/profile.d/kde.csh (kdesupport-1.1.1-1)
Status: CLOSED DUPLICATE of bug 3686
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-07-21 13:03 EDT by incani
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-07-23 04:59:38 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 incani 1999-07-21 13:03:06 EDT
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.
Comment 1 Jeff Johnson 1999-07-23 04:59:59 EDT
*** This bug has been marked as a duplicate of 3686 ***

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