Bug 5665 - If a user installs the kdesupport package, shell code for csh/tcsh is wrong in kde.csh
Summary: If a user installs the kdesupport package, shell code for csh/tcsh is wrong i...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kdesupport
Version: 6.0
Hardware: All
OS: Linux
high
low
Target Milestone: ---
Assignee: Preston Brown
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1999-10-07 03:33 UTC by law
Modified: 2008-05-01 15:37 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 1999-11-29 16:52:01 UTC
Embargoed:


Attachments (Terms of Use)

Description law 1999-10-07 03:33:46 UTC
When installing kdesupport, the redhat additions add
'bash/sh' code to the 'kde.csh' file.  This results in
error messages on login if the user's shell is csh or tcsh.


The following patch needs to be applied in the rh-source
under the kde-support support dir:

:--- scripts/kde.csh     Fri Jun 11 09:02:03 1999
+++ scripts/kde.sgi     Tue Oct  5 12:55:27 1999
@@ -5,8 +5,9 @@
          endif
 endif
 setenv KDEDIR @KDEPREFIX@
-kdepath="${KDEDIR}/bin"
-if ( echo ${PATH} | grep -q ${kdepath} ) then
+setenv kdepath "${KDEDIR}/bin"
+echo ${PATH} | grep -q ${kdepath}
+if ( $? == 0) then
   exit
 endif

Comment 1 Preston Brown 1999-11-29 16:52:59 UTC
fixed in the 6.1 packages.


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