do not print setup() arguments by default
This commit is contained in:
parent
e7e6ec0314
commit
b827e58d07
1 changed files with 13 additions and 11 deletions
|
@ -552,6 +552,7 @@ sub run_apt_progress {
|
|||
sub setup {
|
||||
my $options = shift;
|
||||
|
||||
if (0) {
|
||||
foreach my $key (sort keys %{$options}) {
|
||||
my $value = $options->{$key};
|
||||
if (!defined $value) {
|
||||
|
@ -565,6 +566,7 @@ sub setup {
|
|||
die "unknown type";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
my ($conf, $tmpfile) = tempfile(UNLINK => 1) or die "cannot open apt.conf: $!";
|
||||
print $conf "Apt::Architecture \"$options->{nativearch}\";\n";
|
||||
|
|
Loading…
Reference in a new issue