On Wed, Oct 12, 2011 at 05:33:41PM -0500, Dan McGee wrote: > This should help point users in the right direction if they have not > initialized via pacman-key just yet. > > Signed-off-by: Dan McGee <[email protected]> > --- > lib/libalpm/signing.c | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > > diff --git a/lib/libalpm/signing.c b/lib/libalpm/signing.c > index 4042efb..ce5566b 100644 > --- a/lib/libalpm/signing.c > +++ b/lib/libalpm/signing.c > @@ -140,6 +140,9 @@ static int init_gpgme(alpm_handle_t *handle) > || _alpm_access(handle, sigdir, "trustdb.gpg", R_OK)) { > handle->pm_errno = ALPM_ERR_NOT_A_FILE; > _alpm_log(handle, ALPM_LOG_DEBUG, "Signature verification will > fail!\n"); > + _alpm_log(handle, ALPM_LOG_WARNING, > + _("Public keyring not found; have you ran > '%s'?\n"),
I do believe this should be 'have you run'. d > + "pacman-key --init"); > } > > /* calling gpgme_check_version() returns the current version and runs > -- > 1.7.7 > >
