1 2 3 4 5 6 7 8
post_install() { update-mime-database usr/share/mime > /dev/null update-desktop-database -q } post_remove() { post_install $1 }