mirror of
https://github.com/sbopkg/sbopkg
synced 2024-11-09 19:50:25 +03:00
sbopkg: Increase timeout.
Fix #43. Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
This commit is contained in:
parent
836c067774
commit
b2efe25260
@ -4105,11 +4105,11 @@ check_for_latest() {
|
||||
|
||||
local ORIGSCR=https://www.sbopkg.org/currentversion
|
||||
local CVRS=$SBOVER
|
||||
local NVRS=$(wget -T 10 -q -O - $ORIGSCR)
|
||||
local NVRS=$(wget -T 20 -q -O - $ORIGSCR)
|
||||
local NEWPKG=https://www.sbopkg.org/currentpackage
|
||||
local NEWSBOPKG=$(wget -T 10 -q -O - $NEWPKG)
|
||||
local NEWSBOPKG=$(wget -T 20 -q -O - $NEWPKG)
|
||||
local NEWDL=https://www.sbopkg.org/currentdownload
|
||||
local NEWDLPKG=$(wget -T 10 -q -O - $NEWDL)
|
||||
local NEWDLPKG=$(wget -T 20 -q -O - $NEWDL)
|
||||
local SBOPKGUP MSG REPLY
|
||||
|
||||
if [[ -z $CVRS || -z $NVRS ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user