Replace gpg --update-trustdb by gpg --check-trustdb
Both arguments do the same but --check-trustdb avoids user interaction and is implemented in gpg-from-sq. Closes: #1077600 Suggested-by: Blair Noctis <n@sail.ng>
This commit is contained in:
parent
e5d86136ed
commit
cf2b178f99
1 changed files with 1 additions and 1 deletions
|
@ -6391,7 +6391,7 @@ sub main() {
|
||||||
}
|
}
|
||||||
# initialize gpg trustdb with empty one
|
# initialize gpg trustdb with empty one
|
||||||
{
|
{
|
||||||
0 == system(@gpgcmd, '--update-trustdb')
|
0 == system(@gpgcmd, '--check-trustdb')
|
||||||
or error "gpg failed to initialize trustdb:: $?";
|
or error "gpg failed to initialize trustdb:: $?";
|
||||||
}
|
}
|
||||||
if (!-d $options->{apttrustedparts}) {
|
if (!-d $options->{apttrustedparts}) {
|
||||||
|
|
Loading…
Reference in a new issue