From a8fe5f653a6987cb56eb4f27070821d6d56846a3 Mon Sep 17 00:00:00 2001 From: sibel Date: Sat, 20 Feb 2010 16:31:29 +0100 Subject: Ajout de openoffice-3.2# --- extra/openoffice-3.2/openoffice.install | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 extra/openoffice-3.2/openoffice.install (limited to 'extra/openoffice-3.2/openoffice.install') diff --git a/extra/openoffice-3.2/openoffice.install b/extra/openoffice-3.2/openoffice.install new file mode 100644 index 000000000..94a8d6432 --- /dev/null +++ b/extra/openoffice-3.2/openoffice.install @@ -0,0 +1,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 +} + -- cgit v1.2.3-70-g09d2