mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-04 08:20:26 +00:00
Initialize empty verifier if -ignore-signatures is given to check for signature. #71
This commit is contained in:
1 parent
a937ebc744
commit
71b7de7a63
1 file changed
+4
@@ -25,6 +25,10 @@ func aptlyRepoInclude(cmd *commander.Command, args []string) error {
|
||||
return fmt.Errorf("unable to initialize GPG verifier: %s", err)
|
||||
}
|
||||
|
||||
if verifier == nil {
|
||||
verifier = &utils.GpgVerifier{}
|
||||
}
|
||||
|
||||
forceReplace := context.Flags().Lookup("force-replace").Value.Get().(bool)
|
||||
acceptUnsigned := context.Flags().Lookup("accept-unsigned").Value.Get().(bool)
|
||||
ignoreSignatures := context.Flags().Lookup("ignore-signatures").Value.Get().(bool)
|
||||
|
||||
Reference in new issue
Block a user