summaryrefslogtreecommitdiff
path: root/community/gnome-media/gnome-media.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-04-09 00:05:27 -0700
committerroot <root@rshg054.dnsready.net>2013-04-09 00:05:27 -0700
commit987f836820eae061f40608b4ee1b6a14ecced3cc (patch)
treed28e524877b41fb49ccb7b2f99b36db2f9c90e89 /community/gnome-media/gnome-media.install
parentce26b1905ac40cd9389e1c9f364a2ccd8f4ec13c (diff)
Tue Apr 9 00:05:27 PDT 2013
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
+}