mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
17 lines
357 B
Text
17 lines
357 B
Text
post_install() {
|
|
update_icons
|
|
}
|
|
|
|
post_upgrade() {
|
|
update_icons
|
|
}
|
|
|
|
post_remove() {
|
|
update_icons
|
|
}
|
|
|
|
update_icons() {
|
|
type -p gtk-update-icon-cache > /dev/null 2>&1 && usr/bin/gtk-update-icon-cache -qtf usr/share/icons/hicolor
|
|
type -p update-desktop-database > /dev/null 2>&1 && usr/bin/update-desktop-database -q usr/share/applications
|
|
return 0
|
|
}
|