drop DPkg::Install::Recursive::force=true (requires apt >= 2.3.7)

This commit is contained in:
Johannes Schauer Marin Rodrigues 2021-09-19 19:37:06 +02:00
parent 39a266bce2
commit dceb881bd0
Signed by: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -3019,8 +3019,12 @@ sub run_install() {
'DPkg::Options::=--unset=TMPDIR', 'DPkg::Options::=--unset=TMPDIR',
'-o', '-o',
'DPkg::Options::=dpkg', 'DPkg::Options::=dpkg',
'-o', $options->{mode} eq 'fakechroot'
'DPkg::Install::Recursive::force=true', ? (
'-o',
'DPkg::Install::Recursive::force=true'
)
: (),
'-o', '-o',
"DPkg::Chroot-Directory=$options->{root}", "DPkg::Chroot-Directory=$options->{root}",
'--yes', '--yes',