summaryrefslogtreecommitdiff
path: root/extra/libreoffice/libreoffice.install
blob: 177f0d4e63f1ad4ca83474bd08bddf8658a34690 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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 https://wiki.archlinux.org/index.php/LibreOffice"
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
}