From 99494931170f0fe3842cc923e74307f1bf19e019 Mon Sep 17 00:00:00 2001 From: Anna Date: Wed, 27 Apr 2011 13:46:09 -0400 Subject: [PATCH] More tweaking for the 32/64 fix, since different distros behave differently --- wino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wino b/wino index 616dc87..6377d39 100755 --- a/wino +++ b/wino @@ -14,7 +14,7 @@ use File::Path qw(make_path); # The WINO_DIR is the directory wino will store all of its containers # Do not include a / at the end of this, or things could break... -my $WINO_DIR = '~/.wino'; +my $WINO_DIR = '~/opt/wino'; ### No more user-editable data below @@ -33,7 +33,7 @@ my $winecmd = 'wine'; my $uname = `uname -i`; chomp $uname; -if ($uname eq "x86_64") { $winecmd = 'wine32'; } +if ($uname eq "x86_64" && -x "/usr/bin/wine32") { $winecmd = 'wine32'; } foreach (@ARGV) {