Followup-For: Bug #827927
Control: found -1 0.9.10+git20150916+dfsg1-5

Hi,

that postinst script is still broken. You could just try to

  apt-get install hime
  apt-get install --reinstall hime

in a minimal chroot.

You probably wanted to do something like this (untested!):

====================================
#!/bin/sh
set -e

ua_remove () {
        update-alternatives --remove xinput-$1 /etc/X11/xinit/xinput.d/$2
}

if [ "$1" = "configure" ]
then
        if dpkg --compare-versions "$2" lt-nl 0.9.10+git20150916+dfsg1-3~
        then
                ua_remove all_ALL hime
                ua_remove zh_CN   hime
                ua_remove zh_TW   hime
        fi
fi
====================================


Andreas

Reply via email to