blob: 94a8d6432c86530509f692f65d675624d7cd1a22 (
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
26
|
post_install() {
gtk-update-icon-cache -f -q /usr/share/icons/hicolor
update-desktop-database -q
echo " * check /etc/profile.d/openoffice.sh, then relogin or \"source\" the file"
echo " * see http://wiki.archlinux.org/index.php/Openoffice"
echo " how to use extensions, e.g. for spell checking"
echo " see /usr/lib/openoffice/share/extension/install what"
echo " is shipped with this package"
echo " * make sure you have installed a ttf font (ttf-dejavu recommended)"
}
post_upgrade() {
post_install $1
}
post_remove() {
update-desktop-database -q
gtk-update-icon-cache -f -q /usr/share/icons/hicolor
# make sure everything is gone, maybe someone has installed
# extensions for all users using unopkg --shared
rm -rf /usr/lib/openoffice
}
|