Update Webalizer GeoDB
This commit is contained in:
parent
f4c181efa9
commit
04b73cbf0f
1 changed files with 3 additions and 0 deletions
|
@ -2953,6 +2953,9 @@ function updateWebalizerGeoDBFile(){
|
|||
mkdir -p /root/Downloads/webalizer
|
||||
cd /root/Downloads/webalizer
|
||||
|
||||
if [ -e "webalizer-geodb-latest.tgz" ]; then
|
||||
rm "webalizer-geodb-latest.tgz"
|
||||
fi
|
||||
|
||||
# Download the latest GEO DB
|
||||
wget -O "webalizer-geodb-latest.tgz" -N "ftp://ftp.mrunix.net/pub/webalizer/webalizer-geodb-latest.tgz"
|
||||
|
|
Loading…
Reference in a new issue