From 1ebddb3e146fcb4b3afe94b418e280ab8d51c9b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?= Date: Wed, 17 Jul 2013 20:08:19 -0300 Subject: liferea-libre-1.10.0-1: updating version --- libre/liferea-libre/liferea.install | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'libre/liferea-libre/liferea.install') diff --git a/libre/liferea-libre/liferea.install b/libre/liferea-libre/liferea.install index 327c567d2..7fff91b49 100644 --- a/libre/liferea-libre/liferea.install +++ b/libre/liferea-libre/liferea.install @@ -1,24 +1,21 @@ pkgname=liferea post_install() { - usr/sbin/gconfpkg --install ${pkgname} + 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 + gconfpkg --uninstall $pkgname + fi } post_upgrade() { post_install $1 } -pre_remove() { - usr/sbin/gconfpkg --uninstall ${pkgname} -} - post_remove() { - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor - update-desktop-database -q + post_install $1 } -- cgit v1.2.3-2-g168b