+remote_file "#{cache_dir}/air3_v0.8.tar.gz" do
+ action :create_if_missing
+ source "https://github.com/natrius/air3/archive/refs/tags/v0.8.tar.gz"
+ owner "root"
+ group "root"
+ mode "644"
+ backup false
+end
+
+archive_file "#{cache_dir}/air3_v0.8.tar.gz" do
+ action :nothing
+ destination "/srv/forum.openstreetmap.org/html/style"
+ strip_components 1
+ overwrite true
+ owner "forum"
+ group "forum"
+ subscribes :extract, "remote_file[#{cache_dir}/air3_v0.8.tar.gz]", :immediately
+end
+