PKGBUILDs/extra/eclipse/eclipse.install

23 lines
607 B
Text
Raw Normal View History

2009-10-10 02:23:22 +00:00
# This is a default template for a post-install scriptlet. You can
# remove any functions you don't need (and this header).
# arg 1: the new package version
post_install() {
# Prevent a bug, where eclipse hangs without this.
# See http://aur.archlinux.org/packages.php?ID=12173
xulrunner --register-global >/dev/null 2>&1
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
}
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
post_install $1
}
# arg 1: the old package version
post_remove() {
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
}