Commit 0931b4fe authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

wineshelllink: Use "=" instead of "==" to compare strings.

parent 5b828212
...@@ -101,7 +101,7 @@ directory_entry() ...@@ -101,7 +101,7 @@ directory_entry()
[Desktop Entry] [Desktop Entry]
Type=Directory Type=Directory
EOF EOF
if [ "$1" == "wine" ] ; then if [ "$1" = "wine" ] ; then
echo "Name=Wine" echo "Name=Wine"
echo "Icon=wine" echo "Icon=wine"
else else
...@@ -208,7 +208,7 @@ if [ $mode = "menu" ] ; then ...@@ -208,7 +208,7 @@ if [ $mode = "menu" ] ; then
mkdir -p "$xdg_data_dir/applications/wine/`dirname "$link"`" mkdir -p "$xdg_data_dir/applications/wine/`dirname "$link"`"
linkpath=`dirname "$link" | sed 's!/!-!g'` linkpath=`dirname "$link" | sed 's!/!-!g'`
if [ "$linkpath" == "." ] ; then if [ "$linkpath" = "." ] ; then
linkpath="" linkpath=""
else else
linkpath="-$linkpath" linkpath="-$linkpath"
......
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