PKGBUILDs/extra/obconf/obconf.install
2009-10-09 21:23:22 -05:00

15 lines
330 B
Text

# arg 1: the new package version
post_install() {
update-desktop-database -q /usr/share/applications
update-mime-database /usr/share/mime 1> /dev/null
}
post_upgrade() {
post_install $1
}
# arg 1: the old package version
post_remove() {
update-desktop-database -q
update-mime-database /usr/share/mime 1> /dev/null
}