[pkg-wine-party] elif in /usr/bin/wine-unstable?
    Floris 
    jkfloris at dds.nl
       
    Sun Jun 15 07:55:37 UTC 2014
    
    
  
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
    
    
More information about the pkg-wine-party
mailing list