forked from josch/mmdebstrap
also print apt-get --version output with --debug
This commit is contained in:
parent
8d04ffee64
commit
15d6f5528b
1 changed files with 2 additions and 0 deletions
|
@ -1545,6 +1545,8 @@ sub setup {
|
||||||
$ENV{"APT_CONFIG"} = "$tmpfile";
|
$ENV{"APT_CONFIG"} = "$tmpfile";
|
||||||
}
|
}
|
||||||
if ($verbosity_level >= 3) {
|
if ($verbosity_level >= 3) {
|
||||||
|
0 == system('apt-get', '--version')
|
||||||
|
or error "apt-get --version failed: $?";
|
||||||
0 == system('apt-config', 'dump') or error "apt-config failed: $?";
|
0 == system('apt-config', 'dump') or error "apt-config failed: $?";
|
||||||
debug "content of $tmpfile:";
|
debug "content of $tmpfile:";
|
||||||
copy($tmpfile, \*STDERR);
|
copy($tmpfile, \*STDERR);
|
||||||
|
|
Loading…
Reference in a new issue