More tweaking for the 32/64 fix, since different distros behave differently
This commit is contained in:
parent
24d11d6c9b
commit
9949493117
4
wino
4
wino
|
@ -14,7 +14,7 @@ use File::Path qw(make_path);
|
||||||
|
|
||||||
# The WINO_DIR is the directory wino will store all of its containers
|
# 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...
|
# 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
|
### No more user-editable data below
|
||||||
|
@ -33,7 +33,7 @@ my $winecmd = 'wine';
|
||||||
my $uname = `uname -i`;
|
my $uname = `uname -i`;
|
||||||
chomp $uname;
|
chomp $uname;
|
||||||
|
|
||||||
if ($uname eq "x86_64") { $winecmd = 'wine32'; }
|
if ($uname eq "x86_64" && -x "/usr/bin/wine32") { $winecmd = 'wine32'; }
|
||||||
|
|
||||||
foreach (@ARGV)
|
foreach (@ARGV)
|
||||||
{
|
{
|
||||||
|
|
Reference in New Issue
Block a user