mirror of
https://github.com/sbopkg/sbopkg
synced 2024-12-27 09:58:28 +01:00
modify wget timeout to 10 seconds, add -t 5 for maximum 5 tries
This commit is contained in:
parent
218bc9e142
commit
6b3e949781
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue