summaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2011-03-25 18:27:37 (GMT)
committerJoey Hess <joey@kitenet.net>2011-03-25 18:27:37 (GMT)
commitba2e4b2c52ed7e62ea96644f16fd42113db2730c (patch)
tree75f8e6bc6b4268464b73eb29cb11de62fde7b199 /functions
parenta83170288740003d23968f8107d1ad32e0dc0452 (diff)
downloaddebootstrap-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--functions2
1 files changed, 2 insertions, 0 deletions
diff --git a/functions b/functions
index 99e34c5..e066922 100644
--- a/functions
+++ b/functions
@@ -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
}