pkgname=gstreamer0.10-good-plugins

post_install() {
  usr/sbin/gconfpkg --install ${pkgname}
}

pre_upgrade() {
  if [ -f usr/share/gconf/schemas/${pkgname}.schemas ]; then
    pre_remove
  fi
}

post_upgrade() {
  post_install
}

pre_remove() {
  usr/sbin/gconfpkg --uninstall ${pkgname}
}