From 5febacf17c90c3b9dd0239f62494f888e42532a7 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Mon, 22 Nov 2010 18:15:44 +0100 Subject: * cmdline/apt-key: - set timeout of wget for net-update to 90 seconds (thanks to \sh) --- cmdline/apt-key | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmdline') 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 -- cgit v1.2.3