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