mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
17 lines
350 B
Text
17 lines
350 B
Text
post_install() {
|
|
[ -e /usr/bin/gtk-update-icon-cache ] && gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
|
|
update-desktop-database -q
|
|
}
|
|
|
|
post_upgrade() {
|
|
post_install $1
|
|
}
|
|
|
|
post_remove() {
|
|
[ -e /usr/bin/gtk-update-icon-cache ] && gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
|
|
update-desktop-database -q
|
|
}
|
|
|
|
op=$1
|
|
shift
|
|
$op $*
|