mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
22 lines
607 B
Text
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
|
|
}
|