diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2012-12-25 13:34:49 +0100 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2012-12-25 13:34:49 +0100 |
commit | 416f65d4b97ff26629ddfa1b40ea2041c3e75358 (patch) | |
tree | 61e28b785eb3aa9e55ea269e170277b3d3b6e1fa /extra/gnumeric/gnumeric.install | |
parent | b14277452871db749ef4faa7db7e69bfce39f1a7 (diff) | |
parent | 6fbdd2899f39266e458531dcffefb85b9ce8d1b9 (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts:
community/libnewt/PKGBUILD
community/luasec/PKGBUILD
extra/expect/PKGBUILD
extra/fribidi/PKGBUILD
extra/goffice/PKGBUILD
extra/pidgin/PKGBUILD
extra/postgresql/PKGBUILD
extra/python/PKGBUILD
extra/ruby/PKGBUILD
Diffstat (limited to 'extra/gnumeric/gnumeric.install')
-rw-r--r-- | extra/gnumeric/gnumeric.install | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/extra/gnumeric/gnumeric.install b/extra/gnumeric/gnumeric.install index 50ee0a7e2..b4b8223dd 100644 --- a/extra/gnumeric/gnumeric.install +++ b/extra/gnumeric/gnumeric.install @@ -1,26 +1,19 @@ -pkgname=gnumeric - post_install() { usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas - usr/sbin/gconfpkg --install ${pkgname} gtk-update-icon-cache -q -t -f usr/share/icons/hicolor update-desktop-database -q } pre_upgrade() { - pre_remove $1 + if [ -f usr/share/gconf/schemas/gnumeric.schemas ]; then + usr/sbin/gconfpkg --uninstall gnumeric + fi } post_upgrade() { - post_install $1 -} - -pre_remove() { - usr/sbin/gconfpkg --uninstall ${pkgname} + post_install } post_remove() { - usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor - update-desktop-database -q + post_install } |