diff options
Diffstat (limited to 'testing/rhythmbox/rhythmbox.install')
-rw-r--r-- | testing/rhythmbox/rhythmbox.install | 22 |
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 +} |