summarylogtreecommitdiffstats
path: root/eclipse.install
blob: a1efff937afbd312be774ac87fe5a8349bc9ccd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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'
}