summaryrefslogtreecommitdiff
path: root/sysui
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-04-15 13:48:18 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-04-15 13:48:18 +0000
commitb9f9032c06f325f3e8b59450cc69e2f92f3a8aa1 (patch)
tree104893ddeb9821306eed2a9a0bd99586be7f0892 /sysui
parent7fa49d36374fbce84665fb05b3ff3a8e3721e511 (diff)
INTEGRATION: CWS native141 (1.29.10); FILE MERGED
2008/04/04 10:44:57 obr 1.29.10.2: #i87732# second try 2008/04/03 09:54:41 obr 1.29.10.1: #i87732# rename packages two allow installation in parallel with 2.x
Diffstat (limited to 'sysui')
-rw-r--r--sysui/desktop/suse/suse-menus.spec24
1 files changed, 0 insertions, 24 deletions
diff --git a/sysui/desktop/suse/suse-menus.spec b/sysui/desktop/suse/suse-menus.spec
index 81df5c889ee0..2e8c69ca1273 100644
--- a/sysui/desktop/suse/suse-menus.spec
+++ b/sysui/desktop/suse/suse-menus.spec
@@ -212,30 +212,6 @@ END
mv -f /etc/mailcap.tmp$$ /etc/mailcapl
fi
-# Check whether to activate the gnome-set-default-application stuff (GNOME < 2.6)
-if [ "$1" = "1" ]
-then
- if [ -x /opt/gnome/bin/gnome-panel ]
- then
- /opt/gnome/bin/gnome-panel --version | grep ' 2\.[024]\.' > /dev/null
- if [ "$?" = "0" ]; then
- cat >> /usr/bin/%unixfilename.tmp$$ << EOF
-#!/bin/sh
-USERDIR=\`sed -n -e 's/UserInstallation=//p' /etc/%unixfilename/program/bootstraprc | sed -e "s|.SYSUSERCONFIG|\$HOME|"\`
-# Run gnome-set-default-application on first office launch
-if [ ! -d \$USERDIR ]
-then
- /etc/%unixfilename/program/gnome-set-default-application '%unixfilename' 'application/vnd.oasis.opendocument' 'application/vnd.sun.xml' 'application/vnd.stardivision'
-fi
-EOF
- sed -n -e '2,$ p' /usr/bin/%unixfilename >> /usr/bin/%unixfilename.tmp$$
- mv -f /usr/bin/%unixfilename.tmp$$ /usr/bin/%unixfilename
- chmod 0755 /usr/bin/%unixfilename
- fi
- fi
-fi
-
-
%preun
# remove from /etc/mailcap only on de-install
if [ "$1" = 0 ]