Sophie

Sophie

distrib > Mandriva > 2007.0 > i586 > by-pkgid > 7802ee2ad35283ea52255b2fd4ee08f3 > scriptlet

scim-panel-gnome-0.0.1-1mdv2007.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