diff options
author | Stefano Karapetsas <[email protected]> | 2011-12-14 10:13:54 +0100 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2011-12-14 10:13:54 +0100 |
commit | ef0467789bfc8406b57ba553e4d59f4d6c3f9be8 (patch) | |
tree | 09d541636a16cb38448fe6183289ebdc3080c1bf /distro/archlinux/mate-utils.install | |
download | mate-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.install | 24 |
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 +} |