only set apt Dir config option instead of setting apt directories individually

pull/1/head
parent e1a41fac94
commit 473bc354ae
Signed by: josch
GPG Key ID: F2CBA5C78FBD83E1

@ -941,10 +941,7 @@ sub setup {
} else {
print $conf "Apt::Architectures \"$options->{nativearch}\";\n";
}
print $conf "Dir::Etc \"$options->{root}/etc/apt\";\n";
print $conf "Dir::State \"$options->{root}/var/lib/apt\";\n";
print $conf "Dir::Cache \"$options->{root}/var/cache/apt\";\n";
print $conf "Dir::Log \"$options->{root}/var/log/apt\";\n";
print $conf "Dir \"$options->{root}\";\n";
# for authentication, use the keyrings from the host
print $conf "Dir::Etc::Trusted \"/etc/apt/trusted.gpg\";\n";
print $conf "Dir::Etc::TrustedParts \"/etc/apt/trusted.gpg.d\";\n";

Loading…
Cancel
Save