post_install() { GTK_PATH=/usr/lib32/gtk-2.0 usr/bin/gtk-query-immodules-2.0-32 --update-cache } pre_upgrade() { if (( $(vercmp $2 2.24.20) < 0 )); then rm -f /etc/gtk-2.0/gtk.immodules-32 fi } post_upgrade() { post_install } pre_remove() { rm -f /usr/lib32/gtk-2.0/2.10.0/immodules.cache }