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

  pkill /usr/lib/GConf/gconfd-2 || return 0
}

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