summaryrefslogtreecommitdiff
path: root/libre/liferea/liferea.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-05 00:31:11 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-05 00:31:11 -0300
commit8a08ad9b9cadc797617d6fc0806d4b8773a7a9e4 (patch)
tree0a44ece1c1cb2ec972a3adc2a10826270ab7e1f3 /libre/liferea/liferea.install
parentb98d8ae9967676ae500d6af141b80b7684b95646 (diff)
downloadabslibre-8a08ad9b9cadc797617d6fc0806d4b8773a7a9e4.tar.gz
abslibre-8a08ad9b9cadc797617d6fc0806d4b8773a7a9e4.tar.bz2
abslibre-8a08ad9b9cadc797617d6fc0806d4b8773a7a9e4.zip
liferea: remove libre suffix and add complex pkgrel
Diffstat (limited to 'libre/liferea/liferea.install')
-rw-r--r--libre/liferea/liferea.install21
1 files changed, 21 insertions, 0 deletions
diff --git a/libre/liferea/liferea.install b/libre/liferea/liferea.install
new file mode 100644
index 000000000..7fff91b49
--- /dev/null
+++ b/libre/liferea/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
+}