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