aboutsummaryrefslogtreecommitdiffstats
path: root/gnome/mandrake.links.sh
diff options
context:
space:
mode:
authorDavid Baudens <baudens@mandriva.com>2004-01-29 16:22:30 +0000
committerDavid Baudens <baudens@mandriva.com>2004-01-29 16:22:30 +0000
commit7e50c3ee31c3b07fbe237f1e444fd3682f2eb5a4 (patch)
tree48e436225f7d1a2fd8cc0245371f6aa03fcf5035 /gnome/mandrake.links.sh
parent1ad3fb9b0cc872df19d1c7914fe63c0161745792 (diff)
downloadcommon-data-7e50c3ee31c3b07fbe237f1e444fd3682f2eb5a4.tar
common-data-7e50c3ee31c3b07fbe237f1e444fd3682f2eb5a4.tar.gz
common-data-7e50c3ee31c3b07fbe237f1e444fd3682f2eb5a4.tar.bz2
common-data-7e50c3ee31c3b07fbe237f1e444fd3682f2eb5a4.tar.xz
common-data-7e50c3ee31c3b07fbe237f1e444fd3682f2eb5a4.zip
Remove old files
Diffstat (limited to 'gnome/mandrake.links.sh')
-rw-r--r--gnome/mandrake.links.sh69
1 files changed, 0 insertions, 69 deletions
diff --git a/gnome/mandrake.links.sh b/gnome/mandrake.links.sh
deleted file mode 100644
index 2b0a9fb..0000000
--- a/gnome/mandrake.links.sh
+++ /dev/null
@@ -1,69 +0,0 @@
-#!/bin/bash
-
-if [ "`whoami`" != root ] ; then
-
- if [ ! -d ~/.gnome-desktop ] ; then
- mkdir -p ~/.gnome-desktop
- fi
-
- # Browser
- if [ -e /usr/share/gnome/distribution-menus/Mandrake/Networking/WWW/Galeon.desktop ] ; then
- cp -f /usr/share/gnome/distribution-menus/Mandrake/Networking/WWW/Galeon.desktop $HOME/.gnome-desktop/
- elif [ -e /usr/share/gnome/distribution-menus/Mandrake/Networking/WWW/Mozilla.desktop ] ; then
- cp -f /usr/share/gnome/distribution-menus/Mandrake/Networking/WWW/Mozilla.desktop $HOME/.gnome-desktop/
- fi
-
- # Documentation
- langg=$(cat /etc/sysconfig/i18n | grep ^LANG= | sed -e 's/LANG=//')
- if [ ! -e ~/.gnome/.doc ] ; then
- if [ ! -d ~/.gnome/ ] ; then
- mkdir -p ~/.gnome
- fi
- if [ $langg = de ] && [ -r /usr/share/doc/mandrake/de/index.html ] ; then
- cp /usr/share/mdk/gnome-desktop/Documentation-de.desktop ~/.gnome-desktop/Documentation.desktop && touch ~/.gnome/.doc
- elif [ $langg = es ] && [ -r /usr/share/doc/mandrake/es/index.html ] ; then
- cp /usr/share/mdk/gnome-desktop/Documentation-es.desktop ~/.gnome-desktop/Documentation.desktop && touch ~/.gnome/.doc
- elif [ $langg = fr_FR:fr ] || [ $langg = fr ] && [ -r /usr/share/doc/mandrake/fr/index.html ] ; then
- cp /usr/share/mdk/gnome-desktop/Documentation-fr.desktop ~/.gnome-desktop/Documentation.desktop && touch ~/.gnome/.doc
- elif [ $langg = it ] && [ -r /usr/share/doc/mandrake/it/index.html ] ; then
- cp /usr/share/mdk/gnome-desktop/Documentation-it.desktop ~/.gnome-desktop/Documentation.desktop && touch ~/.gnome/.doc
- elif [ $langg = en ] || [ -z $langg ] && [ -r /usr/share/doc/mandrake/en/index.html ] ; then
- cp /usr/share/mdk/gnome-desktop/Documentation.desktop ~/.gnome-desktop/Documentation.desktop && touch ~/.gnome/.doc
- elif [ -r /usr/share/doc/mandrake/en/index.html ] ; then
- cp /usr/share/mdk/gnome-desktop/Documentation.desktop ~/.gnome-desktop/Documentation.desktop && touch ~/.gnome/.doc
- fi
- fi
-
- # Mandrake Expert
- if [ ! -e ~/.gnome/.mdkexpert ] ; then
- cp /usr/share/mdk/gnome-desktop/Mandrake\ Expert.desktop ~/.gnome-desktop/ && touch ~/.gnome/.mdkexpert
- fi
-
- # Mandrake News
- if [ ! -e ~/.gnome/.mdknews ] ; then
- cp /usr/share/mdk/gnome-desktop/Mandrake\ News.desktop ~/.gnome-desktop && touch ~/.gnome/.mdknews
- fi
-
- # Mandrake Online
- if [ ! -e ~/.gnome/.mdkonline ] ; then
- cp /usr/share/gnome/distribution-menus/Mandrake/Configuration/Other/Mandrake\ Online.desktop ~/.gnome-desktop && touch ~/.gnome/.mdkonline
- fi
-
- # Mandrake Store
- if [ ! -e ~/.gnome/.mdkstore ] ; then
- cp /usr/share/mdk/gnome-desktop/Mandrake\ Store.desktop ~/.gnome-desktop && touch ~/.gnome/.mdkstore
- fi
-
- # Control Center
- if [ ! -e ~/.gnome/.ccenter ] && [ -x /usr/X11R6/bin/DrakConf ] ; then
- cp /usr/share/mdk/gnome-desktop/Mandrake\ Control\ Center.desktop ~/.gnome-desktop/Mandrake\ Control\ Center.desktop && touch ~/.gnome/.ccenter
- fi
-
- # Internet
- if [ ! -e ~/.gnome/.internet ] ; then
- if [ -x /usr/sbin/draknet ] ; then
- cp /usr/share/mdk/gnome-desktop/Connection-to-Internet.desktop ~/.gnome-desktop/Internet.desktop && touch ~/.gnome/.internet ;
- fi
- fi
-
-fi