diff options
Diffstat (limited to 'distro/archlinux/mate-document-viewer.install')
-rw-r--r-- | distro/archlinux/mate-document-viewer.install | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/distro/archlinux/mate-document-viewer.install b/distro/archlinux/mate-document-viewer.install new file mode 100644 index 00000000..2079c0d5 --- /dev/null +++ b/distro/archlinux/mate-document-viewer.install @@ -0,0 +1,28 @@ +pkgname=mate-document-viewer + +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 +} |