diff --git a/windows/py2exe-wine-linux.sh b/windows/py2exe-wine-linux.sh index 9603187..6abcb9a 100755 --- a/windows/py2exe-wine-linux.sh +++ b/windows/py2exe-wine-linux.sh @@ -2,7 +2,7 @@ # We need: # * Wine (32 bit) -# * winetricks +# * winetricks (in some distributions) export WINEARCH=win32 WINE=wine @@ -25,8 +25,10 @@ download() { install_python() { WINEPREFIX=`pwd`/wine export WINEPREFIX - echo "Setting up wine prefix (using winetricks)" - winetricks + if which winetricks &>/dev/null; then + echo "Setting up wine prefix (using winetricks)" + winetricks + fi cd downloads echo "Installing python"