Commit 1222aa63 authored by Dustin Navea's avatar Dustin Navea Committed by Alexandre Julliard

Fixes for kde3 and Desktop directory.

parent 629895b7
......@@ -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" ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment