summaryrefslogtreecommitdiff
path: root/distro/archlinux/mate-notification-daemon.install
diff options
context:
space:
mode:
authorPerberos <[email protected]>2011-12-01 22:49:12 -0300
committerPerberos <[email protected]>2011-12-01 22:49:12 -0300
commit781b0ff3f74abd6f5353b6d08763bbba93f2f21c (patch)
tree20c130b413586219356ec360efb5918a498cee69 /distro/archlinux/mate-notification-daemon.install
downloadmate-notification-daemon-781b0ff3f74abd6f5353b6d08763bbba93f2f21c.tar.bz2
mate-notification-daemon-781b0ff3f74abd6f5353b6d08763bbba93f2f21c.tar.xz
moving from https://github.com/perberos/mate-desktop-environment
Diffstat (limited to 'distro/archlinux/mate-notification-daemon.install')
-rw-r--r--distro/archlinux/mate-notification-daemon.install18
1 files changed, 18 insertions, 0 deletions
diff --git a/distro/archlinux/mate-notification-daemon.install b/distro/archlinux/mate-notification-daemon.install
new file mode 100644
index 0000000..67875d2
--- /dev/null
+++ b/distro/archlinux/mate-notification-daemon.install
@@ -0,0 +1,18 @@
+pkgname=mate-notification-daemon
+
+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}
+}