]> git.ipfire.org Git - ipfire-2.x.git/commit
99-geoip-database: Fix download
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 14 Oct 2019 16:43:58 +0000 (16:43 +0000)
committerArne Fitzenreiter <arne_f@ipfire.org>
Mon, 14 Oct 2019 17:47:31 +0000 (17:47 +0000)
commita3f4b8c6f73bd4680f9e87eee9c758d3e010a774
treef8ae81b46ff3e502698cd37d43462da01945f1ef
parentbb64cd092ce7b5338a7cc8882c9fbfc8262efbce
99-geoip-database: Fix download

This script started a fresh download every time it was called,
which is unnecessary.

The check to skip the download did not work because it was
looking for the old data format.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
src/initscripts/networking/red.up/99-geoip-database