post_install() { mime-archpkg -r -a } post_upgrade() { mime-archpkg -r -u } pre_remove() { mime-archpkg -r -d }