summaryrefslogtreecommitdiff
path: root/sysui/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'sysui/desktop')
-rw-r--r--sysui/desktop/mandriva/mandriva-menus.spec22
1 files changed, 0 insertions, 22 deletions
diff --git a/sysui/desktop/mandriva/mandriva-menus.spec b/sysui/desktop/mandriva/mandriva-menus.spec
index 7b2f06a6b417..84de379fd5c6 100644
--- a/sysui/desktop/mandriva/mandriva-menus.spec
+++ b/sysui/desktop/mandriva/mandriva-menus.spec
@@ -167,28 +167,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
%{update_menus}