summaryrefslogtreecommitdiff
path: root/sysui/desktop
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2005-10-05 11:59:51 +0000
committerKurt Zenker <kz@openoffice.org>2005-10-05 11:59:51 +0000
commit37f09dbfd1a8bb224c352fee61b3e3e9bd9867f3 (patch)
treeecc3dcf7a9b3346f2c4eeee1a5e6b213af1cfe17 /sysui/desktop
parent45604c60cb0cf93de11ceaed5e9bb6c619ff0012 (diff)
INTEGRATION: CWS sysui11 (1.17.2); FILE MERGED
2005/09/13 06:30:06 obr 1.17.2.4: RESYNC: (1.19-1.20); FILE MERGED 2005/09/01 05:57:54 obr 1.17.2.3: RESYNC: (1.18-1.19); FILE MERGED 2005/08/24 08:54:12 obr 1.17.2.2: RESYNC: (1.17-1.18); FILE MERGED 2005/08/16 13:21:08 obr 1.17.2.1: #i52807# triggerin now runs only for initial install, updates are handled by new triggerpostun
Diffstat (limited to 'sysui/desktop')
-rw-r--r--sysui/desktop/redhat/redhat-menus.spec18
1 files changed, 1 insertions, 17 deletions
diff --git a/sysui/desktop/redhat/redhat-menus.spec b/sysui/desktop/redhat/redhat-menus.spec
index 357b666d2946..3487e2c01731 100644
--- a/sysui/desktop/redhat/redhat-menus.spec
+++ b/sysui/desktop/redhat/redhat-menus.spec
@@ -51,23 +51,7 @@ for dir in *; do
cd ../..
done
-%triggerin -- openoffice.org-core01
-# create file in /etc that contains the office installation path
-cat > /tmp/install.$$ << EOF
-while [ "\$TARGET" == "" ]
-do
- sleep 2
- TARGET=\`rpm -q --qf '%{INSTALLPREFIX}' openoffice.org-core01 2>&1\` && ln -snf \$TARGET /etc/%unixfilename
- # some rpm versions do not wait for the shared lock
- echo \$TARGET | grep '/var/lib/rpm' && TARGET=""
-done
-if [ -x /usr/bin/update-desktop-database ]; then
- update-desktop-database -q /usr/share/applications
-fi
-rm -f /tmp/install.$$
-EOF
-
-/bin/sh /tmp/install.$$ &
+#include<symlink_triggers>
%triggerin -- openoffice.org-writer, openoffice.org-calc, openoffice.org-draw, openoffice.org-impress, openoffice.org-base, openoffice.org-math
if [ -x /usr/bin/update-desktop-database -a -h /etc/%unixfilename ]; then