dump apt config with verbosity level >= 3

This commit is contained in:
Johannes 'josch' Schauer 2020-01-21 13:12:44 +01:00
parent 77c8bb7252
commit 9eaacca795
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -1449,6 +1449,9 @@ sub setup {
## no critic (Variables::RequireLocalizedPunctuationVars)
$ENV{"APT_CONFIG"} = "$tmpfile";
}
if ($verbosity_level >= 3) {
0 == system('apt-config', 'dump') or error "apt-config failed: $?";
}
# when apt-get update is run by the root user, then apt will attempt to
# drop privileges to the _apt user. This will fail if the _apt user does