mirror of
https://github.com/sbopkg/sbopkg
synced 2024-12-29 10:24:11 +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
|
ln -s $SRCDIR/$SRCNAME $LOCALREPO/$SLACKVER/$PKGPATH/$SRCNAME
|
||||||
else
|
else
|
||||||
cd $SRCDIR
|
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 -
|
cd -
|
||||||
ln -s $SRCDIR/$SRCNAME $LOCALREPO/$SLACKVER/$PKGPATH/$SRCNAME
|
ln -s $SRCDIR/$SRCNAME $LOCALREPO/$SLACKVER/$PKGPATH/$SRCNAME
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue