summaryrefslogtreecommitdiff
path: root/distro/archlinux/mate-applets.install
diff options
context:
space:
mode:
authorPerberos <[email protected]>2011-11-14 18:24:48 -0300
committerPerberos <[email protected]>2011-11-14 18:24:48 -0300
commit312ba610a1e98fc656fb58178227d7d45a64494e (patch)
tree54a3c2b6084c80e63fb0526c6e7b8e01627acbd7 /distro/archlinux/mate-applets.install
downloadmate-applets-312ba610a1e98fc656fb58178227d7d45a64494e.tar.bz2
mate-applets-312ba610a1e98fc656fb58178227d7d45a64494e.tar.xz
initial
Diffstat (limited to 'distro/archlinux/mate-applets.install')
-rw-r--r--distro/archlinux/mate-applets.install23
1 files changed, 23 insertions, 0 deletions
diff --git a/distro/archlinux/mate-applets.install b/distro/archlinux/mate-applets.install
new file mode 100644
index 00000000..410aa833
--- /dev/null
+++ b/distro/archlinux/mate-applets.install
@@ -0,0 +1,23 @@
+pkgname=mate-applets
+
+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
+}
+