From 9eaacca79598d1e38af42989b8107101a61bce2f Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Tue, 21 Jan 2020 13:12:44 +0100 Subject: [PATCH] dump apt config with verbosity level >= 3 --- mmdebstrap | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mmdebstrap b/mmdebstrap index 9775710..a219544 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -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