cargo: Warn if "gpg" is not available

Closes #1643
This commit is contained in:
Tycho Sci 2012-02-14 10:06:20 +09:00
parent d014edcb1c
commit 60b80fa6df

View file

@ -418,6 +418,10 @@ fn configure(opts: options) -> cargo {
if c.pgp { if c.pgp {
pgp::init(c.root); 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 c