mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
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:
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
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
PORTNAME= GeoIP
|
PORTNAME= GeoIP
|
||||||
PORTVERSION= 1.6.12
|
PORTVERSION= 1.6.12
|
||||||
PORTREVISION= 2
|
PORTREVISION= 3
|
||||||
CATEGORIES= net geography
|
CATEGORIES= net geography
|
||||||
MASTER_SITES= https://github.com/maxmind/geoip-api-c/releases/download/v${PORTVERSION}/
|
MASTER_SITES= https://github.com/maxmind/geoip-api-c/releases/download/v${PORTVERSION}/
|
||||||
|
|
||||||
|
|
|
@ -10,3 +10,4 @@ net/libmaxminddb), please switch to that and use geoipupdate
|
||||||
(net/geoipupdate) to fetch the GeoIP 2 databases.
|
(net/geoipupdate) to fetch the GeoIP 2 databases.
|
||||||
===============================================================
|
===============================================================
|
||||||
MSG
|
MSG
|
||||||
|
exit 1
|
||||||
|
|
Loading…
Add table
Reference in a new issue