[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[pkg-wine-party] Bug#767011: Patch for wine-development: WINELOADER from script is not passed



control: tag -1 patch
control: clone -1 -2
control: retitle -1 wine-development: wine script broken, missing "test"
control: severity -1 important
control: reassign -2 src:wine
control: retitle -2 wine: wine script broken, missing "test"

Hi,

turns out it was a missing "test" when testing the value of "$wine", see
attached patch.

Affected are both wine and wine-development (I hope I got the bug
control stuff right).

As already mentioned the consequences for wine-development with wine
co-installed are quite severe: "wine-development" just doesn't work. But
I don't really understand why it works as soon as only wine-development
is installed. I'd think it should end in the broken test, when it
executes "$wine" instead of testing its value.

No idea what the concrete symptoms for wine (stable) are, but I'd say
wine (stable) also needs to be fixed for Jessie.

Greets
jre
diff --git a/debian/scripts/wine b/debian/scripts/wine
index d67a00a..5972abb 100755
--- a/debian/scripts/wine
+++ b/debian/scripts/wine
@@ -21,7 +21,7 @@ else
 fi
 
 if test -z $WINEPREFIX; then
-    if "$wine" = "$wine64"; then
+    if test "$wine" = "$wine64"; then
         wineprefix=$HOME/.wine64
     else
         wineprefix=$HOME/.wine

Reply to: