diff options
author | Perberos <[email protected]> | 2011-12-01 22:24:23 -0300 |
---|---|---|
committer | Perberos <[email protected]> | 2011-12-01 22:24:23 -0300 |
commit | 0e004c696b0e68b2cff37a4c3315b022a35eaf43 (patch) | |
tree | 43261e815529cb9518ed7be37af13b846af8b26b /distro/archlinux/mate-file-manager.install | |
download | caja-0e004c696b0e68b2cff37a4c3315b022a35eaf43.tar.bz2 caja-0e004c696b0e68b2cff37a4c3315b022a35eaf43.tar.xz |
moving from https://github.com/perberos/mate-desktop-environment
Diffstat (limited to 'distro/archlinux/mate-file-manager.install')
-rw-r--r-- | distro/archlinux/mate-file-manager.install | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/distro/archlinux/mate-file-manager.install b/distro/archlinux/mate-file-manager.install new file mode 100644 index 00000000..3956000b --- /dev/null +++ b/distro/archlinux/mate-file-manager.install @@ -0,0 +1,28 @@ +pkgname=mate-file-manager + +post_install() { + usr/sbin/mateconfpkg --install ${pkgname} + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + + update-desktop-database -q + + update-mime-database usr/share/mime > /dev/null +} + +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 + update-mime-database usr/share/mime > /dev/null +} |