diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-06-17 14:31:18 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-06-17 14:31:18 -0300 |
commit | 545a4c749d49c3fddbc57c157d650b194e2193d8 (patch) | |
tree | 7b06384a2d1d1ec07e26eda99bb0016a0540cbfc /testing/libreoffice/libreoffice.install | |
parent | 40df5bbde7fc547479b2cede1f3ffb8e268816b3 (diff) | |
parent | 1fcb176285908c33aca3b0f5cb703ec098e5440c (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
multilib/wine/PKGBUILD
multilib/zsnes/PKGBUILD
testing/frozen-bubble/PKGBUILD
testing/perl-sdl/PKGBUILD
Diffstat (limited to 'testing/libreoffice/libreoffice.install')
-rw-r--r-- | testing/libreoffice/libreoffice.install | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/libreoffice/libreoffice.install b/testing/libreoffice/libreoffice.install new file mode 100644 index 000000000..27f3173ae --- /dev/null +++ b/testing/libreoffice/libreoffice.install @@ -0,0 +1,25 @@ +post_install() { + +gtk-update-icon-cache -f -q /usr/share/icons/hicolor +update-desktop-database -q +update-mime-database usr/share/mime > /dev/null 2>&1 + +echo " * see http://wiki.archlinux.org/index.php/Openoffice" +echo " * you may want to pacman -Ss libreoffice-extensions" +echo " to see what extensions are prepared to install" +echo " * it's recommended to install {hunspell,mythes,hyphen}-xx pkg for spell checking" +echo " * make sure you have installed some ttf font (ttf-dejavu recommended)" +} + +post_upgrade() { +# post_install $1 +gtk-update-icon-cache -f -q /usr/share/icons/hicolor +update-desktop-database -q +update-mime-database usr/share/mime > /dev/null 2>&1 +} + +post_remove() { +update-desktop-database -q +gtk-update-icon-cache -f -q /usr/share/icons/hicolor +update-mime-database usr/share/mime > /dev/null 2>&1 +} |