Bug 5665

Summary: If a user installs the kdesupport package, shell code for csh/tcsh is wrong in kde.csh
Product: [Retired] Red Hat Linux Reporter: law
Component: kdesupportAssignee: Preston Brown <pbrown>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: high    
Version: 6.0CC: lembree
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-11-29 16:52:01 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 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.