From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel =?utf-8?q?Weism=C3=BCller?= To: development@lists.ipfire.org Subject: [PATCH 3/4] xt_geoip_update: Do not create temporary directories again Date: Mon, 14 Oct 2019 16:47:55 +0200 Message-ID: <20191014144756.7674-3-daniel.weismueller@ipfire.org> In-Reply-To: <20191014144756.7674-1-daniel.weismueller@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0790788060240327712==" List-Id: --===============0790788060240327712== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable These already exist Signed-off-by: Daniel Weism=C3=BCller --- src/scripts/xt_geoip_update | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/scripts/xt_geoip_update b/src/scripts/xt_geoip_update index f633229fb..6c0b70db0 100644 --- a/src/scripts/xt_geoip_update +++ b/src/scripts/xt_geoip_update @@ -35,9 +35,6 @@ eval $(/usr/local/bin/readhash /var/ipfire/proxy/settings) function download() { echo "Downloading latest GeoIP ruleset..." =20 - # Create temporary directory. - mkdir -pv $TMP_PATH - # Proxy settings. # Check if a proxy should be used. if [[ $UPSTREAM_PROXY ]]; then @@ -84,9 +81,6 @@ function install() { } =20 function build_legacy() { - # Create temporary directory. - mkdir -pv $TMP_PATH -=09 echo "Convert database to legacy GeoIP.dat ..." cat $DB_PATH/GeoLite2-Country-Blocks-IPv4.csv | \ $DB1_PATH/bin/geolite2-to-legacy-csv.sh $DB1_PATH/bin/countryInfo.txt >= \ --=20 2.12.2 --===============0790788060240327712==--