From 1222aa63d538a84c6cfb7900d4787be3b2473bec Mon Sep 17 00:00:00 2001 From: Dustin Navea Date: Tue, 14 May 2002 23:20:45 +0000 Subject: [PATCH] Fixes for kde3 and Desktop directory. --- tools/wineshelllink | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/wineshelllink b/tools/wineshelllink index a63644305db..e567b5f1e78 100755 --- a/tools/wineshelllink +++ b/tools/wineshelllink @@ -162,7 +162,7 @@ then kdeversion=`kde-config -v | grep KDE: | sed -n "s/^KDE: \([^.]*\)\..*$/\1/p"` fi - if [ $kdeversion = 2 ] + if [ $kdeversion -ge 2 ] then copy_icon "$HOME/.kde/share/applnk/Wine" if [ $mode = "menu" ] @@ -200,13 +200,15 @@ then if [ $mode = "menu" ] then gnome_entry > "$HOME/.kde2/share/applnk/Wine/$link.desktop" + elif [ -d "$HOME/Desktop" ] + then + gnome_entry > "$HOME/Desktop/$link.desktop" elif [ -d "$HOME/Desktop2" ] then gnome_entry > "$HOME/Desktop2/$link.desktop" fi fi - # Gnome if [ -d "$HOME/.gnome" ] -- 2.11.4.GIT