diff options
author | root <root@rshg054.dnsready.net> | 2011-08-17 23:14:29 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-08-17 23:14:29 +0000 |
commit | 3413e75c9cdb6c0daf6ddf92f469a2221c94a55b (patch) | |
tree | ebc8d673526a7bcca4a4fcd6ed7872baec735f90 /extra/ghex/ghex.install | |
parent | 68b7938bb87c6e91d54e4f35f0223c7237fa53e1 (diff) |
Wed Aug 17 23:14:29 UTC 2011
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 } |