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 } post_upgrade() { post_install $1 } post_remove() { gtk-update-icon-cache -q -t -f usr/share/icons/hicolor }