Red Hat Bugzilla – Bug 199931
invalid bash test in /etc/profile.d/kde.sh
Last modified: 2007-11-30 17:11:38 EST
Description of problem:
Version-Release number of selected component (if applicable): kdelibs-3.5.3-0.4.fc5
ssh from one machine into an fc5 machine.
Steps to Reproduce:
ssh hotbox (hotboxis running Fedora Core release 5
An error message: /etc/profile.d/kde.sh:4: = not found
No error messages.
Line 4 of /etc/profile.d/kde.sh is:
if [ xx"$PRELINKING" == "xxyes" ] ; then
(or something like that; I've changed it. But the point is that...)
The [....] construct in bash is invalid for comparison tests; it should be [[....]]
if [[ xx"$PRELINKING" == "xxyes" ]] ; then
(I bugzilla-ed the kde guys about this, but they said it was a Fedora problem...)
yes, it's not upstream bug. The bug has been already fixed in
kdelibs-3.5.3-0.4.fc5. Your /etc/profile.d/kde.sh has not been upgraded
because you have changed it and it's marked as noreplace.