Use better words.

This commit is contained in:
Andrey Smirnov
2014-02-07 02:07:41 +04:00
parent 39d2dd2483
commit 3a51116881
+2 -2
View File
@@ -97,8 +97,8 @@ func (g *GpgVerifier) InitKeyring() error {
// using default keyring
output, err := exec.Command("gpg", "--no-default-keyring", "--keyring", "trustedkeys.gpg", "--list-keys").Output()
if err == nil && len(output) == 0 {
fmt.Printf("\nLooks like your keyring with trusted keys is empty. You might want to consider importing some keys.\n")
fmt.Printf("If you're running Debian or Ubuntu, you might consider importing current archive keys by running:\n\n")
fmt.Printf("\nLooks like your keyring with trusted keys is empty. You might consider importing some keys.\n")
fmt.Printf("If you're running Debian or Ubuntu, it's a good idea to import current archive keys by running:\n\n")
fmt.Printf(" gpg --keyring /usr/share/keyrings/debian-archive-keyring.gpg --export | gpg --no-default-keyring --keyring trustedkeys.gpg --import\n")
fmt.Printf("\n(for Ubuntu, use /usr/share/keyrings/ubuntu-archive-keyring.gpg)\n\n")
}