summaryrefslogtreecommitdiff
path: root/distro/archlinux/mate-file-manager.install
diff options
context:
space:
mode:
authorPerberos <[email protected]>2011-12-01 22:24:23 -0300
committerPerberos <[email protected]>2011-12-01 22:24:23 -0300
commit0e004c696b0e68b2cff37a4c3315b022a35eaf43 (patch)
tree43261e815529cb9518ed7be37af13b846af8b26b /distro/archlinux/mate-file-manager.install
downloadcaja-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.install28
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
+}