From c7997c40ec75327df2fd9624908312d18850b854 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 4 Jul 2022 20:19:01 +0100 Subject: [PATCH] Correct path to geoip directory on 22.04 --- cookbooks/geoipupdate/attributes/default.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/cookbooks/geoipupdate/attributes/default.rb b/cookbooks/geoipupdate/attributes/default.rb index 315dfe146..90476814c 100644 --- a/cookbooks/geoipupdate/attributes/default.rb +++ b/cookbooks/geoipupdate/attributes/default.rb @@ -1,9 +1,5 @@ default[:geoipupdate][:account] = "149244" default[:geoipupdate][:editions] = %w[GeoLite2-ASN GeoLite2-City GeoLite2-Country] -default[:geoipupdate][:directory] = if node[:lsb][:release].to_f < 22.04 - "/usr/share/GeoIP" - else - "/var/lib/GeoIP" - end +default[:geoipupdate][:directory] = "/usr/share/GeoIP" default[:apt][:sources] |= ["maxmind"] -- 2.39.5