mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
26 lines
741 B
Text
26 lines
741 B
Text
|
post_install() {
|
||
|
|
||
|
gtk-update-icon-cache -f -q /usr/share/icons/hicolor
|
||
|
update-desktop-database -q
|
||
|
|
||
|
echo " * relogin or source /etc/profile.d/openoffice-devel.sh"
|
||
|
echo " * see http://wiki.archlinux.org/index.php/Openoffice"
|
||
|
echo " how to use extensions, e.g. for spell checking"
|
||
|
echo " see /usr/lib/openoffice-dev/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-dev
|
||
|
}
|