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

17 lines
334 B
Text

post_install() {
[ -e /usr/bin/gtk-update-icon-cache ] && gtk-update-icon-cache -q -t -f usr/share/icons
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
update-desktop-database -q
}
op=$1
shift
$op $*