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

This commit is contained in:
Hans Leidekker 2007-02-08 15:32:44 +01:00 committed by Alexandre Julliard
parent 5b8282120a
commit 0931b4feaf
1 changed files with 2 additions and 2 deletions

View File

@ -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
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"