Skip to content

Commit

Permalink
cargo: Warn if "gpg" is not available
Browse files Browse the repository at this point in the history
Closes #1643
  • Loading branch information
tychosci committed Feb 14, 2012
1 parent d014edc commit 60b80fa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/cargo/cargo.rs
Expand Up @@ -418,6 +418,10 @@ fn configure(opts: options) -> cargo {

if c.pgp {
pgp::init(c.root);
} else {
warn("command \"gpg\" is not found");
warn("you have to install \"gpg\" from source " +
" or package manager to get it to work correctly");
}

c
Expand Down

0 comments on commit 60b80fa

Please sign in to comment.