post_install() { echo -n "updating gtk.immodules... " /usr/bin/gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules echo "done." } post_upgrade() { post_install $1 } post_remove() { echo -n "updating gtk.immodules... " /usr/bin/gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules echo "done." }