summaryrefslogtreecommitdiff
path: root/distro/archlinux/mate-media.install
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2011-12-11 13:11:15 +0100
committerStefano Karapetsas <[email protected]>2011-12-11 13:11:15 +0100
commit4ee2559eaaf2a94ac26c265517e9604a72729360 (patch)
treef24e3e3294c2b75819755289e592bf2e28e668c4 /distro/archlinux/mate-media.install
downloadmate-media-4ee2559eaaf2a94ac26c265517e9604a72729360.tar.bz2
mate-media-4ee2559eaaf2a94ac26c265517e9604a72729360.tar.xz
moved from Mate-Extra
Diffstat (limited to 'distro/archlinux/mate-media.install')
-rw-r--r--distro/archlinux/mate-media.install22
1 files changed, 22 insertions, 0 deletions
diff --git a/distro/archlinux/mate-media.install b/distro/archlinux/mate-media.install
new file mode 100644
index 0000000..4662445
--- /dev/null
+++ b/distro/archlinux/mate-media.install
@@ -0,0 +1,22 @@
+pkgname=mate-media
+
+post_install() {
+ usr/sbin/mateconfpkg --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() {
+ usr/sbin/mateconfpkg --uninstall ${pkgname}
+}
+
+post_remove() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}