allow /etc/apt/trusted.gpg.d/ not to exist

pull/32/head
parent 045b56bb4e
commit 2f27eccad4
Signed by: josch
GPG Key ID: F2CBA5C78FBD83E1

@ -5011,6 +5011,10 @@ sub main() {
0 == system(@gpgcmd, '--update-trustdb')
or error "gpg failed to initialize trustdb:: $?";
}
if (!-d $options->{apttrustedparts}) {
warning "$options->{apttrustedparts} doesn't exist";
last;
}
# find all the fingerprints of the keys apt currently
# knows about
my @keyrings = ();

Loading…
Cancel
Save