summaryrefslogtreecommitdiff
path: root/cmdline
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2010-11-22 18:15:44 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2010-11-22 18:15:44 +0100
commit5febacf17c90c3b9dd0239f62494f888e42532a7 (patch)
tree3ed83da6472b03d0459ef74a6f0485d3277a73ea /cmdline
parente06d6068d7152532ee917783308d911ba2223402 (diff)
* cmdline/apt-key:
- set timeout of wget for net-update to 90 seconds (thanks to \sh)
Diffstat (limited to 'cmdline')
-rwxr-xr-xcmdline/apt-key2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdline/apt-key b/cmdline/apt-key
index 3514effad..f0b084448 100755
--- a/cmdline/apt-key
+++ b/cmdline/apt-key
@@ -71,7 +71,7 @@ net_update() {
if [ -e $keyring ]; then
old_mtime=$(stat -c %Y $keyring)
fi
- (cd /var/lib/apt/keyrings; wget -q -N $ARCHIVE_KEYRING_URI)
+ (cd /var/lib/apt/keyrings; wget --timeout=90 -q -N $ARCHIVE_KEYRING_URI)
if [ ! -e $keyring ]; then
return
fi