PKGBUILDs/community/sauerbraten/sauerbraten.install

18 lines
350 B
Text
Raw Normal View History

2009-10-10 02:15:33 +00:00
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 $*