allow /etc/apt/trusted.gpg.d/ not to exist
This commit is contained in:
parent
045b56bb4e
commit
2f27eccad4
1 changed files with 4 additions and 0 deletions
|
@ -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…
Reference in a new issue