From a1b52618178ed082ce2b73766c248a91cfe1fb31 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Tue, 24 Sep 2024 17:21:51 +0200 Subject: [PATCH] overpass: only download sources when missing The filename contains the version, so the file shouldn't change. --- cookbooks/overpass/recipes/default.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/overpass/recipes/default.rb b/cookbooks/overpass/recipes/default.rb index 0cad2a1ab..665b6730b 100644 --- a/cookbooks/overpass/recipes/default.rb +++ b/cookbooks/overpass/recipes/default.rb @@ -49,7 +49,7 @@ package %w[ ] remote_file "#{srcdir}.tar.gz" do - action :create + action :create_if_missing source "https://dev.overpass-api.de/releases/osm-3s_v#{node[:overpass][:version]}.tar.gz" owner username group username -- 2.39.5