summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysui/desktop/mandriva/mandriva-menus.spec15
1 files changed, 1 insertions, 14 deletions
diff --git a/sysui/desktop/mandriva/mandriva-menus.spec b/sysui/desktop/mandriva/mandriva-menus.spec
index f43bda22711a..d41405877d18 100644
--- a/sysui/desktop/mandriva/mandriva-menus.spec
+++ b/sysui/desktop/mandriva/mandriva-menus.spec
@@ -25,20 +25,7 @@ Obsoletes: openofficeorg-mandrakelinux-menus, openofficeorg-mandriva-menus
%description
OpenOffice.org desktop integration
-%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 -sf \$TARGET /etc/%unixfilename
- # some rpm versions do not wait for the shared lock
- echo \$TARGET | grep '/var/lib/rpm' && TARGET=""
-done
-rm -f /tmp/install.$$
-EOF
-
-/bin/sh /tmp/install.$$ &
+#include<symlink_triggers>
# Update menus
#