--- Xsession.orig 2008-11-30 21:49:42 +0600 +++ /etc/X11/Xsession 2008-11-30 21:50:25 +0600 @@ -168,7 +168,7 @@ # Source shell scripts from system /etc/X11/profile.d/ for f in /etc/X11/profile.d/*.sh; do # Don't run *.rpm* and *~ scripts - [ "${f%.rpm*}" == "$f" -a "${f%\~}" == "$f" ] || continue + [ "${f%.rpm*}" = "$f" -a "${f%\~}" = "$f" ] || continue SourceIfNotEmpty "$f" "$@" done @@ -179,7 +179,7 @@ # Run system scripts from /etc/X11/xinit.d/ for f in /etc/X11/xinit.d/*; do # Don't run *.rpm* and *~ scripts - [ "${f%.rpm*}" == "$f" -a "${f%\~}" == "$f" ] || continue + [ "${f%.rpm*}" = "$f" -a "${f%\~}" = "$f" ] || continue if [ -x "$f" ]; then "$f" & @@ -189,7 +189,7 @@ # Run user scripts from ~/.xsession.d/ for f in "$HOME"/.xsession.d/*; do # Don't run *.rpm* and *~ scripts - [ "${f%.rpm*}" == "$f" -a "${f%\~}" == "$f" ] || continue + [ "${f%.rpm*}" = "$f" -a "${f%\~}" = "$f" ] || continue if [ -x "$f" ]; then "$f" &