Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 2a57955a4c81255c47c52323450c48c9 > scriptlet

scim-panel-gnome-0.0.4-1mdv2008.0.i586.rpm

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