post_install() { update-desktop-database -q } post_upgrade() { post_install $1 } pre_remove() { /bin/true } post_remove() { post_install }