summaryrefslogtreecommitdiff
path: root/cmdline
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2013-12-19 16:43:50 +0100
committerMichael Vogt <mvo@debian.org>2013-12-19 16:46:04 +0100
commite5543ea5a236426dd33e74e427e8485a030a2540 (patch)
tree3693cd650bcd65ef0ba3b04de2cc0dce165641db /cmdline
parent5acf154d810a0225cc7d14637d101205e43ceba8 (diff)
fix apt-key net-update test to use the buildin webserver
Diffstat (limited to 'cmdline')
-rw-r--r--cmdline/apt-key.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdline/apt-key.in b/cmdline/apt-key.in
index c7d3ce8b5..463e4b4b4 100644
--- a/cmdline/apt-key.in
+++ b/cmdline/apt-key.in
@@ -130,7 +130,7 @@ net_update() {
if [ ! -d ${APT_DIR}/var/lib/apt/keyrings ]; then
mkdir -p ${APT_DIR}/var/lib/apt/keyrings
fi
- keyring=${APT_DIR}/var/lib/apt/keyrings/$(basename $ARCHIVE_KEYRING)
+ keyring=${APT_DIR}/var/lib/apt/keyrings/$(basename $ARCHIVE_KEYRING_URI)
old_mtime=0
if [ -e $keyring ]; then
old_mtime=$(stat -c %Y $keyring)