summaryrefslogtreecommitdiff
path: root/libre/liferea-libre/liferea.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-07-17 20:08:19 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-07-17 20:08:19 -0300
commit1ebddb3e146fcb4b3afe94b418e280ab8d51c9b3 (patch)
tree4be74d248065dd20e4cd54a27d1861e2284e8f1a /libre/liferea-libre/liferea.install
parentacdbb84c92dc8962194e0a4d65fbe8afc6bace7c (diff)
downloadabslibre-1ebddb3e146fcb4b3afe94b418e280ab8d51c9b3.tar.gz
abslibre-1ebddb3e146fcb4b3afe94b418e280ab8d51c9b3.tar.bz2
abslibre-1ebddb3e146fcb4b3afe94b418e280ab8d51c9b3.zip
liferea-libre-1.10.0-1: updating version
Diffstat (limited to 'libre/liferea-libre/liferea.install')
-rw-r--r--libre/liferea-libre/liferea.install13
1 files changed, 5 insertions, 8 deletions
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
}