Report failure to the caller in geoipupdate.sh

The script was returning an error due to the service not being offered anymore.
The update attempt was replaced with an information message, but it's better to
still return 1 as it did before to allow users detecting they have a problem.

Reported by:	aramw (maintainer)
This commit is contained in:
Romain Tartière 2019-01-11 19:50:07 +00:00
parent 61fcfeb1fe
commit 1c169c5c36
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=489992
2 changed files with 2 additions and 1 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= GeoIP
PORTVERSION= 1.6.12
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= net geography
MASTER_SITES= https://github.com/maxmind/geoip-api-c/releases/download/v${PORTVERSION}/

View file

@ -10,3 +10,4 @@ net/libmaxminddb), please switch to that and use geoipupdate
(net/geoipupdate) to fetch the GeoIP 2 databases.
===============================================================
MSG
exit 1