1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
post_install() { echo "Updating MIME database" update-mime-database /usr/share/mime update-desktop-database } post_remove() { echo "Updating MIME database" update-mime-database /usr/share/mime update-desktop-database } op=$1 shift $op $*