~ubuntu-branches/ubuntu/raring/gnupg2/raring-proposed

« back to all changes in this revision

Viewing changes to g10/trustdb.c

  • Committer: Bazaar Package Importer
  • Author(s): Eric Dorland
  • Date: 2009-09-07 20:38:23 UTC
  • mfrom: (1.1.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20090907203823-d7hsk7lnfqoc4yom
Tags: 2.0.13-1
* New upstream release.
* debian/control: Depend instead of Recommend gnupg-agent. (Closes:
  #538947)

Show diffs side-by-side

added added

removed removed

Lines of Context:
408
408
}
409
409
 
410
410
void
 
411
how_to_fix_the_trustdb ()
 
412
{
 
413
  const char *name = trustdb_args.dbname;
 
414
 
 
415
  if (!name)
 
416
    name = "trustdb.gpg";
 
417
 
 
418
  log_info (_("You may try to re-create the trustdb using the commands:\n"));
 
419
  log_info ("  cd %s\n", default_homedir ());
 
420
  log_info ("  gpg2 --export-ownertrust > otrust.tmp\n");
 
421
#ifdef HAVE_W32_SYSTEM
 
422
  log_info ("  del %s\n", name);
 
423
#else
 
424
  log_info ("  rm %s\n", name);
 
425
#endif
 
426
  log_info ("  gpg2 --import-ownertrust < otrust.tmp\n");
 
427
  log_info (_("If that does not work, please consult the manual\n"));
 
428
}
 
429
 
 
430
 
 
431
void
411
432
init_trustdb()
412
433
{
413
434
  int level = trustdb_args.level;