POSTIN
/bin/sh
# change config to use scim-panel-gnome if [ $1 = 1 ]; then cd /etc/scim/ perl -i.bak -p -e 's/scim-panel-gtk/scim-panel-gnome/g' global cd - fi
POSTUN
/bin/sh
# restore config if [ $1 = 0 ]; then cd /etc/scim/ mv -f global.bak global cd - fi