diff options
author | Joey Hess <joey@kitenet.net> | 2011-03-25 18:27:37 (GMT) |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-03-25 18:27:37 (GMT) |
commit | ba2e4b2c52ed7e62ea96644f16fd42113db2730c (patch) | |
tree | 75f8e6bc6b4268464b73eb29cb11de62fde7b199 /functions | |
parent | a83170288740003d23968f8107d1ad32e0dc0452 (diff) | |
download | debootstrap-ba2e4b2c52ed7e62ea96644f16fd42113db2730c.zip debootstrap-ba2e4b2c52ed7e62ea96644f16fd42113db2730c.tar.gz debootstrap-ba2e4b2c52ed7e62ea96644f16fd42113db2730c.tar.bz2 |
Add a warning message if the keyring file is not available, and --no-check-gpg is not specified.
Diffstat (limited to 'functions')
-rw-r--r-- | functions | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -476,6 +476,8 @@ download_release_sig () { (gpgv --status-fd 1 --keyring "$KEYRING" --ignore-time-conflict \ "$relsigdest" "$reldest" || true) | read_gpg_status progress 100 100 DOWNRELSIG "Downloading Release file signature" + elif [ -z "$DISABLE_KEYRING" ]; then + warning KEYRING "Cannot verify gpg signature; keyring file %s is not available" "$KEYRING" fi } |