summaryrefslogtreecommitdiff
path: root/community/gnome-media/gnome-media.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/gnome-media/gnome-media.install')
-rw-r--r--community/gnome-media/gnome-media.install26
1 files changed, 26 insertions, 0 deletions
diff --git a/community/gnome-media/gnome-media.install b/community/gnome-media/gnome-media.install
new file mode 100644
index 000000000..0574e8765
--- /dev/null
+++ b/community/gnome-media/gnome-media.install
@@ -0,0 +1,26 @@
+pkgname=gnome-sound-recorder
+
+post_install() {
+ usr/sbin/gconfpkg --install ${pkgname}
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+}
+
+pre_upgrade() {
+ pre_remove $1
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ if [ "$(vercmp 3.4.0-2 "$2")" -eq 1 ]; then
+ usr/sbin/gconfpkg --uninstall gnome-media
+ else
+ usr/sbin/gconfpkg --uninstall ${pkgname}
+ fi
+}
+
+post_remove() {
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+}