mirror of
https://github.com/sbopkg/sbopkg
synced 2024-11-09 19:50:25 +03:00
modify wget timeout to 10 seconds, add -t 5 for maximum 5 tries
This commit is contained in:
parent
218bc9e142
commit
6b3e949781
@ -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 New Issue
Block a user