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

[pkg-wine-party] elif in /usr/bin/wine-unstable?



Hey,

Can someone explain me why there is
...
if test -x $wine32; then
    wine=$wine32
elif test -x $wine64; then
    wine=$wine64
...

in /usr/bin/wine-unstable?

Because when both wine64-unstable and wine32-unstable are installed $wine will always set to $wine32 making a WINEARCH=win64 impossible.

In wine-1.6.2-8 (stable) there is:
...
wine=/usr/bin/wine32
if test "$(file -b -L "$1" | cut -d\ -f1)" = "PE32+" -o "$WINEARCH" = "win64"; then
    wine=/usr/bin/wine64
fi
...

which make more sense. Check if the windows file is 64-bit or WINEARCH is set, if not run a 32-bit version.

thanks,

floris



Reply to: