Bug 197389

Summary: /etc/profile.d/kde.sh causes problems with zsh
Product: [Fedora] Fedora Reporter: Gen Zhang <genneth>
Component: kdelibsAssignee: Than Ngo <than>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 5   
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: 2006-07-14 23:38:00 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 Gen Zhang 2006-06-30 19:36:12 UTC
Description of problem:


Version-Release number of selected component (if applicable):
3.5.3-0.2.fc5

How reproducible:
Everytime

Steps to Reproduce:
1. install kdelibs
2. install zsh
3. start zsh as a login shell
  
Actual results:
/etc/profile.d/kde.sh:4: = not found

Expected results:
No errors

Additional info:
The problem, as correctly pointed out by zsh, is on line 4.
   if [ $PRELINKING == "yes" ] ; then
if changed to
   if [ ${PRELINKING} = "yes" ] ; then
Things work correctly under bash and zsh. The {} is okay by bash, and = instead
of == is apparently more posix compliant too.

Comment 1 Than Ngo 2006-07-14 23:38:00 UTC
it's fixed in kdelibs-3.5.3-0.4.fc5