Bug 196225 - Bad /etc/profile.d/kde.sh in kdelibs-3.5.3-0.2.fc5
Summary: Bad /etc/profile.d/kde.sh in kdelibs-3.5.3-0.2.fc5
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: kdelibs
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Than Ngo
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-06-22 02:41 UTC by H.J. Lu
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-06-24 06:49:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description H.J. Lu 2006-06-22 02:41:05 UTC
After upgrading to kdelibs-3.5.3-0.2.fc5, I got

connect to address 172.25.70.98: Connection refused
Trying krb4 rlogin...
connect to address 172.25.70.98: Connection refused
trying normal rlogin (/usr/bin/rlogin)
Last login: Wed Jun 21 08:37:27 from gnu-13
/etc/profile.d/kde.sh:4: = not found

when I logged nto my machine. I see

[root@gnu-10 hjl]# more /etc/profile.d/kde.sh
# When/if using prelinking, avoids (some) use of kdeinit
if [ -f /etc/sysconfig/prelink ] ; then
   source /etc/sysconfig/prelink
   if [ "$PRELINKING" == yes ] ; then
      [ -z "$KDE_IS_PRELINKED" ] && KDE_IS_PRELINKED=1 && export KDE_IS_PRELINKE
D
   fi
fi

# if not using IP6, speeds DNS operations
# [ -z "$KDE_NO_IPV6" ] && KDE_NO_IPV6=1 && export KDE_NO_IPV6

# Make sure KDEDIR is set
[ -z "$KDEDIR" ] && KDEDIR="/usr"
export KDEDIR

It should be

if [ "$PRELINKING" = yes ] ; then

instead of

if [ "$PRELINKING" == yes ] ; then

Comment 1 Than Ngo 2006-06-24 06:49:28 UTC
it's now fixed in kdelibs-3.5.3-5/kdelibs-3.5.3-0.3.fc5. Thanks for your 
report.


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