diff options
author | Britney Fransen <brfransen@gmail.com> | 2014-12-04 14:35:56 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2014-12-04 14:35:56 (GMT) |
commit | f4b45adcd351f279480390487c5a8da126701dca (patch) | |
tree | 34ba54488c17b856d2bd8a6112af6cea76548297 /abs/core/gtk2/gtk2.install | |
parent | 0d5088569fff7013c1d89958e2b39c32fb8206b2 (diff) | |
download | linhes_pkgbuild-f4b45adcd351f279480390487c5a8da126701dca.zip linhes_pkgbuild-f4b45adcd351f279480390487c5a8da126701dca.tar.gz linhes_pkgbuild-f4b45adcd351f279480390487c5a8da126701dca.tar.bz2 |
gtk2: update to 2.24.25
Diffstat (limited to 'abs/core/gtk2/gtk2.install')
-rw-r--r-- | abs/core/gtk2/gtk2.install | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/abs/core/gtk2/gtk2.install b/abs/core/gtk2/gtk2.install index a988c64..f14e648 100644 --- a/abs/core/gtk2/gtk2.install +++ b/abs/core/gtk2/gtk2.install @@ -1,16 +1,17 @@ post_install() { - gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules + /usr/bin/gtk-query-immodules-2.0 --update-cache } pre_upgrade() { - pre_remove + if (( $(vercmp $2 2.24.20) < 0 )); then + rm -f /etc/gtk-2.0/gtk.immodules + fi } post_upgrade() { - post_install + post_install } pre_remove() { - rm -f /etc/gtk-2.0/gtk.immodules &>/dev/null - rm -f /etc/gtk-2.0/gdk-pixbuf.loaders &>/dev/null + rm -f /usr/lib/gtk-2.0/2.10.0/immodules.cache } |