Bug 4351 - bad file /etc/profile.d/kde.csh -- not csh script
bad file /etc/profile.d/kde.csh -- not csh script
Status: CLOSED DUPLICATE of bug 3686
Product: Red Hat Linux
Classification: Retired
Component: kdesupport (Show other bugs)
i386 Linux
high Severity medium
: ---
: ---
Assigned To: David Lawrence
Depends On:
  Show dependency treegraph
Reported: 1999-08-04 11:45 EDT by mbw8
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 1999-08-04 12:34:13 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description mbw8 1999-08-04 11:45:09 EDT
The upgraded 1.1.1 kdesupport from ftp.updates.com for
rh6.0  has a buggy file /etc/profile.d/kde.csh

It causes users with the CSH shell and sourcing the system
defaults to stop.

It is caused by this file using bash syntax, not csh syntax.

Here is a fixed version:

# KDE initialization script (csh)
#echo "CSH kde init script"
if ( $?KDEDIR ) then
         if ( $KDEDIR == "/usr" ) then
setenv KDEDIR /usr
setenv kdepath "${KDEDIR}/bin"
echo $PATH | grep -q $kdepath
if ( $status ) then

setenv PATH "${kdepath}:${PATH}"
Comment 1 Jeff Johnson 1999-08-04 12:34: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.