diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2008-04-15 13:47:26 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2008-04-15 13:47:26 +0000 |
commit | ad6ead488d2a3a516347013f31032b98ced51ff1 (patch) | |
tree | 4cf09d0366002f1bdc53c83d085fef675a192d55 /sysui/desktop/redhat | |
parent | 4e3f94c604a9a95dc2298cab4dbe88ad0418f794 (diff) |
INTEGRATION: CWS native141 (1.28.10); FILE MERGED
2008/04/04 10:44:56 obr 1.28.10.2: #i87732# second try
2008/04/03 09:54:40 obr 1.28.10.1: #i87732# rename packages two allow installation in parallel with 2.x
Diffstat (limited to 'sysui/desktop/redhat')
-rw-r--r-- | sysui/desktop/redhat/redhat-menus.spec | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/sysui/desktop/redhat/redhat-menus.spec b/sysui/desktop/redhat/redhat-menus.spec index 929b1c848a31..0ff40a7b1a3b 100644 --- a/sysui/desktop/redhat/redhat-menus.spec +++ b/sysui/desktop/redhat/redhat-menus.spec @@ -211,29 +211,6 @@ END mv -f /etc/mailcap.tmp$$ /etc/mailcap fi -# Check whether to activate the gnome-set-default-application stuff (GNOME < 2.6) -if [ "$1" = "1" ] -then - if [ -x /usr/bin/gnome-panel ] - then - /usr/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 ] |