PKGBUILDs/community/sauerbraten/sauerbraten.install
2009-10-09 21:15:33 -05:00

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 $*