summaryrefslogtreecommitdiff
path: root/libre/liferea-libre/liferea.install
diff options
context:
space:
mode:
Diffstat (limited to 'libre/liferea-libre/liferea.install')
-rw-r--r--libre/liferea-libre/liferea.install21
1 files changed, 21 insertions, 0 deletions
diff --git a/libre/liferea-libre/liferea.install b/libre/liferea-libre/liferea.install
new file mode 100644
index 000000000..7fff91b49
--- /dev/null
+++ b/libre/liferea-libre/liferea.install
@@ -0,0 +1,21 @@
+pkgname=liferea
+
+post_install() {
+ 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() {
+ if [ -f usr/share/gconf/schemas/$pkgname.schemas ]; then
+ gconfpkg --uninstall $pkgname
+ fi
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}