summaryrefslogtreecommitdiff
path: root/distro/archlinux/mate-utils.install
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2011-12-14 10:13:54 +0100
committerStefano Karapetsas <[email protected]>2011-12-14 10:13:54 +0100
commitef0467789bfc8406b57ba553e4d59f4d6c3f9be8 (patch)
tree09d541636a16cb38448fe6183289ebdc3080c1bf /distro/archlinux/mate-utils.install
downloadmate-utils-ef0467789bfc8406b57ba553e4d59f4d6c3f9be8.tar.bz2
mate-utils-ef0467789bfc8406b57ba553e4d59f4d6c3f9be8.tar.xz
Moved from Mate-Extra repository
Diffstat (limited to 'distro/archlinux/mate-utils.install')
-rw-r--r--distro/archlinux/mate-utils.install24
1 files changed, 24 insertions, 0 deletions
diff --git a/distro/archlinux/mate-utils.install b/distro/archlinux/mate-utils.install
new file mode 100644
index 00000000..38b41a73
--- /dev/null
+++ b/distro/archlinux/mate-utils.install
@@ -0,0 +1,24 @@
+pkgname=mate-utils
+
+post_install() {
+ usr/sbin/mateconfpkg --install ${pkgname}
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ update-desktop-database -q
+}
+
+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
+ update-desktop-database -q
+}