diff options
Diffstat (limited to 'extra/ghex/ghex.install')
-rw-r--r-- | extra/ghex/ghex.install | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/extra/ghex/ghex.install b/extra/ghex/ghex.install index d2fd968ea..084bc82ee 100644 --- a/extra/ghex/ghex.install +++ b/extra/ghex/ghex.install @@ -1,22 +1,20 @@ pkgname=ghex post_install() { - usr/sbin/gconfpkg --install ${pkgname} - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + glib-compile-schemas usr/share/glib-2.0/schemas + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor } pre_upgrade() { - pre_remove $1 + if [ -f usr/share/gconf/schemas/$pkgname.schemas ]; then + gconfpkg --uninstall $pkgname + fi } post_upgrade() { - post_install $1 -} - -pre_remove() { - usr/sbin/gconfpkg --uninstall ${pkgname} + post_install $1 } post_remove() { - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + post_install $1 } |