post_install() {
  ldconfig -r .
  chmod 755 etc/gconf/gconf.xml.system
  usr/bin/gio-querymodules usr/lib/gio/modules
}

post_upgrade() {
  ldconfig -r .
  chmod 755 etc/gconf/gconf.xml.system
  usr/bin/gio-querymodules usr/lib/gio/modules

  PID=`pidof gconfd-2`
  if [ ! -z "${PID}" ]; then
    kill ${PID}
  fi
}

post_remove() {
    usr/bin/gio-querymodules usr/lib/gio/modules
}