Max 10 Seconds for Geo Database for Webalizer
This commit is contained in:
parent
82f4c410e9
commit
16eeab86c0
2 changed files with 2 additions and 2 deletions
|
@ -3265,7 +3265,7 @@ function updateWebalizerGeoDBFile(){
|
|||
fi
|
||||
|
||||
# Download the latest GEO DB
|
||||
wget --tries=2 -O "webalizer-geodb-latest.tgz" -N "ftp://ftp.mrunix.net/pub/webalizer/webalizer-geodb-latest.tgz"
|
||||
wget --timeout=10 --tries=2 -O "webalizer-geodb-latest.tgz" -N "ftp://ftp.mrunix.net/pub/webalizer/webalizer-geodb-latest.tgz"
|
||||
|
||||
# If mirror isn't online, then use our local copy
|
||||
if [ $? -ne 0 ] || [ ! -s "webalizer-geodb-latest.tgz" ]; then
|
||||
|
|
|
@ -2953,7 +2953,7 @@ function updateWebalizerGeoDBFile(){
|
|||
fi
|
||||
|
||||
# Download the latest GEO DB
|
||||
wget --tries=2 -O "webalizer-geodb-latest.tgz" -N "ftp://ftp.mrunix.net/pub/webalizer/webalizer-geodb-latest.tgz"
|
||||
wget --timeout=10 --tries=2 -O "webalizer-geodb-latest.tgz" -N "ftp://ftp.mrunix.net/pub/webalizer/webalizer-geodb-latest.tgz"
|
||||
|
||||
# If mirror isn't online, then use our local copy
|
||||
if [ $? -ne 0 ] || [ ! -s "webalizer-geodb-latest.tgz" ]; then
|
||||
|
|
Loading…
Reference in a new issue