PKGBUILDs/extra/eclipse/eclipse.install
2009-10-09 21:23:22 -05:00

22 lines
607 B
Text

# 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
}