pkgname=gnome-screensaver pre_upgrade() { if [ -f usr/share/gconf/schemas/${pkgname}.schemas ]; then usr/sbin/gconfpkg --uninstall ${pkgname} fi }