summaryrefslogtreecommitdiffstats
path: root/extra/openoffice/openoffice.install
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-03-04 07:26:50 +0100
committertnut <thierryn1 at hispeed dot ch>2010-03-04 07:26:50 +0100
commite06fa863719e767d4eb3d2035e6718d79952cbcc (patch)
tree7be8aa6ddc6370ccefe2586ed1ce72debb93598b /extra/openoffice/openoffice.install
parentd1f50a6ce0d3ad4540268c8077fde2c3dd9caacb (diff)
downloadnutyx-extra-e06fa863719e767d4eb3d2035e6718d79952cbcc.tar.gz
nutyx-extra-e06fa863719e767d4eb3d2035e6718d79952cbcc.tar.bz2
nutyx-extra-e06fa863719e767d4eb3d2035e6718d79952cbcc.tar.xz
nutyx-extra-e06fa863719e767d4eb3d2035e6718d79952cbcc.zip
Maj openoffice#3.2.0-
Diffstat (limited to 'extra/openoffice/openoffice.install')
-rw-r--r--extra/openoffice/openoffice.install26
1 files changed, 26 insertions, 0 deletions
diff --git a/extra/openoffice/openoffice.install b/extra/openoffice/openoffice.install
new file mode 100644
index 000000000..94a8d6432
--- /dev/null
+++ b/extra/openoffice/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
+}
+