summaryrefslogtreecommitdiff
path: root/testing/rhythmbox/rhythmbox.install
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-16 00:25:23 -0500
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-16 00:25:23 -0500
commitc10e7925277424b96cd4bf6c605e9c6e7eeb3e7d (patch)
treefdda9d104f41805974ada6cb400f94203e67be25 /testing/rhythmbox/rhythmbox.install
parentb946c00c4a9d7e8825a99e5bf93d220ad706642a (diff)
parentebe74a263db3899367e12d936f908cdfdee7ec15 (diff)
Merge branch 'master' of vparabola:~/abslibre-pre-mips64el
Conflicts: multilib/q4wine/PKGBUILD
Diffstat (limited to 'testing/rhythmbox/rhythmbox.install')
-rw-r--r--testing/rhythmbox/rhythmbox.install22
1 files changed, 22 insertions, 0 deletions
diff --git a/testing/rhythmbox/rhythmbox.install b/testing/rhythmbox/rhythmbox.install
new file mode 100644
index 000000000..cbea0e6b3
--- /dev/null
+++ b/testing/rhythmbox/rhythmbox.install
@@ -0,0 +1,22 @@
+pkgname=rhythmbox
+
+post_install() {
+ glib-compile-schemas usr/share/glib-2.0/schemas
+ update-desktop-database -q
+ gtk-update-icon-cache -f -q -t usr/share/icons/hicolor
+}
+
+pre_upgrade() {
+ if [ -f usr/share/gconf/schemas/${pkgname}.schemas ]; then
+ usr/sbin/gconfpkg --uninstall ${pkgname}
+ fi
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+
+post_remove() {
+ post_install $1
+}