diff options
Diffstat (limited to 'community/gnote/gnote.install')
-rw-r--r-- | community/gnote/gnote.install | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/community/gnote/gnote.install b/community/gnote/gnote.install index 780fae868..0f8eb1012 100644 --- a/community/gnote/gnote.install +++ b/community/gnote/gnote.install @@ -1,22 +1,21 @@ pkgname=gnote 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 + update-desktop-database -q } pre_upgrade() { - pre_remove $1 + if [ -f usr/share/gconf/schemas/${pkgname}.schemas ]; then + usr/sbin/gconfpkg --uninstall ${pkgname} + fi } post_upgrade() { - post_install -} - -pre_remove() { - usr/sbin/gconfpkg --uninstall ${pkgname} + post_install } post_remove() { - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + post_install } |