From 6b3e9497816d7570a9faa81b6423513bb13d14d5 Mon Sep 17 00:00:00 2001 From: "chess.griffin" Date: Sun, 24 Aug 2008 04:05:20 +0000 Subject: [PATCH] modify wget timeout to 10 seconds, add -t 5 for maximum 5 tries --- src/usr/bin/sbopkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/usr/bin/sbopkg b/src/usr/bin/sbopkg index 3ad9a92..fa46b5e 100755 --- a/src/usr/bin/sbopkg +++ b/src/usr/bin/sbopkg @@ -692,7 +692,7 @@ if [ ! -e $PKGPATH/$SRCNAME ]; then ln -s $SRCDIR/$SRCNAME $LOCALREPO/$SLACKVER/$PKGPATH/$SRCNAME else cd $SRCDIR - wget -T 20 $DOWNLOAD || rm -rf $TMP/sbopkg_build.lck + wget -t 5 -T 10 $DOWNLOAD || rm -rf $TMP/sbopkg_build.lck cd - ln -s $SRCDIR/$SRCNAME $LOCALREPO/$SLACKVER/$PKGPATH/$SRCNAME fi