From: | "Christian Ruppert (idl0r)" <idl0r@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-libs/geoip/files: geoipupdate-r2.sh |
Date: | Fri, 29 Mar 2013 14:52:32 |
Message-Id: | 20130329145228.4DE9120081@flycatcher.gentoo.org |
1 | idl0r 13/03/29 14:52:28 |
2 | |
3 | Modified: geoipupdate-r2.sh |
4 | Log: |
5 | Another one.. |
6 | |
7 | (Portage version: 2.2.0_alpha170/cvs/Linux x86_64, signed Manifest commit with key B427ABC8) |
8 | |
9 | Revision Changes Path |
10 | 1.4 dev-libs/geoip/files/geoipupdate-r2.sh |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/geoip/files/geoipupdate-r2.sh?rev=1.4&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/geoip/files/geoipupdate-r2.sh?rev=1.4&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/geoip/files/geoipupdate-r2.sh?r1=1.3&r2=1.4 |
15 | |
16 | Index: geoipupdate-r2.sh |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-libs/geoip/files/geoipupdate-r2.sh,v |
19 | retrieving revision 1.3 |
20 | retrieving revision 1.4 |
21 | diff -u -r1.3 -r1.4 |
22 | --- geoipupdate-r2.sh 29 Mar 2013 14:40:37 -0000 1.3 |
23 | +++ geoipupdate-r2.sh 29 Mar 2013 14:52:28 -0000 1.4 |
24 | @@ -16,7 +16,7 @@ |
25 | for db in $DATABASES; do |
26 | fname=$(basename $db) |
27 | |
28 | - if [ -f ${GEOIPDIR}/${fname} ]; then |
29 | + if [ -f "${GEOIPDIR}/${fname}.dat" ]; then |
30 | wget --no-verbose -t 3 -T 60 \ |
31 | "${GEOIP_MIRROR}/${db}.dat.gz" \ |
32 | -O "${TMPDIR}/${fname}.dat.gz" |