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 " how to use extensions, e.g. for spell checking" echo " see /usr/lib/go-openoffice/share/extension/install what" echo " is shipped with this package" } post_upgrade() { post_install $1 } post_remove() { update-desktop-database -q gtk-update-icon-cache -f -q /usr/share/icons/hicolor }