fix Apt::Architectures architecture list
This commit is contained in:
parent
935f5b7a66
commit
a9765a3ad2
1 changed files with 5 additions and 1 deletions
|
@ -573,7 +573,11 @@ sub setup {
|
|||
# the host system might have configured additional architectures
|
||||
# force only the native architecture
|
||||
if (scalar @{$options->{foreignarchs}} > 0) {
|
||||
print $conf "Apt::Architectures \"$options->{nativearch} @{$options->{foreignarchs}}\";\n";
|
||||
print $conf "Apt::Architectures { \"$options->{nativearch}\"; ";
|
||||
foreach my $arch (@{$options->{foreignarchs}}) {
|
||||
print $conf "\"$arch\"; ";
|
||||
}
|
||||
print $conf "};\n";
|
||||
} else {
|
||||
print $conf "Apt::Architectures \"$options->{nativearch}\";\n";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue