diff options
Diffstat (limited to 'admin/Sources/Clients/ogagent/windows/py2exe-wine-linux.sh')
-rwxr-xr-x | admin/Sources/Clients/ogagent/windows/py2exe-wine-linux.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/admin/Sources/Clients/ogagent/windows/py2exe-wine-linux.sh b/admin/Sources/Clients/ogagent/windows/py2exe-wine-linux.sh index 96031879..6abcb9a7 100755 --- a/admin/Sources/Clients/ogagent/windows/py2exe-wine-linux.sh +++ b/admin/Sources/Clients/ogagent/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" |