pkgname=bluez-gnome post_install() { update-desktop-database -q gtk-update-icon-cache -q -t -f usr/share/icons/hicolor update-mime-database usr/share/mime >/dev/null usr/sbin/gconfpkg --install ${pkgname} } post_upgrade() { post_install } pre_remove() { usr/sbin/gconfpkg --uninstall ${pkgname} } pre_upgrade() { pre_remove } post_remove() { post_install }