Package: im-switch
Version: 1.7
Followup-For: Bug #367880

Hi,

I have the same problem as Richard. Log-in seems to fail if the last
test in the 90im-switch script returns false. Adding a dummy test which
is always true seems to do the trick for me. Proposed patch follows:

--- /etc/X11/Xsession.d/90im-switch     2006-05-16 22:44:42.000000000 +0200
+++ /tmp/90im-switch    2006-05-18 19:56:04.000000000 +0200
@@ -28,7 +28,7 @@
            /etc/X11/xinit/xinput.d/${LNG} \
            /etc/X11/xinit/xinput.d/all_ALL \
            /etc/X11/xinit/xinput.d/default ; do
-    [ -r $f ] && . $f && break
+    [ -r $f -a ! -d $f ] && . $f && break
 done
 
 unset LNG
@@ -46,4 +46,6 @@
 # execute XIM_PROGRAM_XTRA
 [ -n "$XIM_PROGRAM_XTRA" ] && eval "$XIM_PROGRAM_EXTRA &"
 
+[ ! ]
+
 fi

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (50, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-flo
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

im-switch depends on no packages.

Versions of packages im-switch recommends:
ii  x11-common                    1:7.0.18   X Window System (X.Org) infrastruc

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to