summaryrefslogtreecommitdiffstats
path: root/test/openoffice-3.2/openoffice.install
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-02-26 18:48:48 +0100
committertnut <thierryn1 at hispeed dot ch>2010-02-26 18:48:48 +0100
commit55357e9ed599283cea41c8b47b527c7403282ffd (patch)
treee21f959b2288597c2d1e232cac58bd4e00818f7e /test/openoffice-3.2/openoffice.install
parent72c9e5a7cdf8f44aaef85b8316ecbbef5d5fa5ce (diff)
downloadnutyx-extra-55357e9ed599283cea41c8b47b527c7403282ffd.tar.gz
nutyx-extra-55357e9ed599283cea41c8b47b527c7403282ffd.tar.bz2
nutyx-extra-55357e9ed599283cea41c8b47b527c7403282ffd.tar.xz
nutyx-extra-55357e9ed599283cea41c8b47b527c7403282ffd.zip
openoffice-3.2, déplacé dans test
Diffstat (limited to 'test/openoffice-3.2/openoffice.install')
-rw-r--r--test/openoffice-3.2/openoffice.install26
1 files changed, 26 insertions, 0 deletions
diff --git a/test/openoffice-3.2/openoffice.install b/test/openoffice-3.2/openoffice.install
new file mode 100644
index 000000000..94a8d6432
--- /dev/null
+++ b/test/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
+}
+