summaryrefslogtreecommitdiffstats
path: root/extra/openoffice-3.2/openoffice.install
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-02-20 16:39:13 +0100
committertnut <thierryn1 at hispeed dot ch>2010-02-20 16:39:13 +0100
commit8165a35457e9c65bc57e0ca97004ca12145e328a (patch)
treea6f28a23b5fa6757569ae5f240d1aaafc7c1a326 /extra/openoffice-3.2/openoffice.install
parent3728f9871b540f3345eab37fed84b43c34d024ec (diff)
parenta8fe5f653a6987cb56eb4f27070821d6d56846a3 (diff)
downloadnutyx-extra-8165a35457e9c65bc57e0ca97004ca12145e328a.tar.gz
nutyx-extra-8165a35457e9c65bc57e0ca97004ca12145e328a.tar.bz2
nutyx-extra-8165a35457e9c65bc57e0ca97004ca12145e328a.tar.xz
nutyx-extra-8165a35457e9c65bc57e0ca97004ca12145e328a.zip
Merge commit 'lesibel/master'
Diffstat (limited to 'extra/openoffice-3.2/openoffice.install')
-rw-r--r--extra/openoffice-3.2/openoffice.install26
1 files changed, 26 insertions, 0 deletions
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
+}
+