Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 4141

Summary: /etc/profile.d/kde.csh (kdesupport-1.1.1-1)
Product: [Retired] Red Hat Linux Reporter: incani
Component: kdesupportAssignee: David Lawrence <dkl>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0CC: incani
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-07-23 08:59:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description incani 1999-07-21 17:03:06 UTC
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 08:59:59 UTC
*** This bug has been marked as a duplicate of 3686 ***