More tweaking for the 32/64 fix, since different distros behave differently

This commit is contained in:
Anna Rose 2011-04-27 13:46:09 -04:00
parent 24d11d6c9b
commit 9949493117

4
wino
View File

@ -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)
{