mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
15 lines
330 B
Text
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
|
|
}
|