diff options
author | Perberos <[email protected]> | 2011-11-21 03:41:10 -0300 |
---|---|---|
committer | Perberos <[email protected]> | 2011-11-21 03:41:10 -0300 |
commit | ce691afd9a4dce44991e80263cbd392cf513f48c (patch) | |
tree | 70086f6766f1af0d357e85ab4fe61a899b6badcc /distro/archlinux/mate-document-viewer.install | |
parent | dbf946f89a287b5b930ce5618840e1902d04b800 (diff) | |
download | atril-ce691afd9a4dce44991e80263cbd392cf513f48c.tar.bz2 atril-ce691afd9a4dce44991e80263cbd392cf513f48c.tar.xz |
tag
Diffstat (limited to 'distro/archlinux/mate-document-viewer.install')
-rw-r--r-- | distro/archlinux/mate-document-viewer.install | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/distro/archlinux/mate-document-viewer.install b/distro/archlinux/mate-document-viewer.install index 2079c0d5..cb30f7de 100644 --- a/distro/archlinux/mate-document-viewer.install +++ b/distro/archlinux/mate-document-viewer.install @@ -1,28 +1,28 @@ pkgname=mate-document-viewer post_install() { - usr/sbin/mateconfpkg --install ${pkgname} - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + usr/sbin/mateconfpkg --install ${pkgname} + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor - update-desktop-database -q + update-desktop-database -q - update-mime-database usr/share/mime > /dev/null + update-mime-database usr/share/mime > /dev/null } pre_upgrade() { - pre_remove $1 + pre_remove $1 } post_upgrade() { - post_install $1 + post_install $1 } pre_remove() { - usr/sbin/mateconfpkg --uninstall ${pkgname} + 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 + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-desktop-database -q + update-mime-database usr/share/mime > /dev/null } |