From 21efc9511d14394cc1d8426e2e0a6c668964fbe9 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 25 Sep 2011 23:14:59 +0000 Subject: Sun Sep 25 23:14:59 UTC 2011 --- community/gnote/gnote.install | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'community/gnote/gnote.install') 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 } -- cgit v1.2.3-54-g00ecf