From: Tom Hughes Date: Tue, 27 Aug 2013 18:13:01 +0000 (+0100) Subject: Allow unzip to overwrite files X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/3dcbc079a864f5785a86b1cff2e4c43c2ffb47e2 Allow unzip to overwrite files --- diff --git a/cookbooks/tile/recipes/default.rb b/cookbooks/tile/recipes/default.rb index cd88e91ce..453c19a71 100644 --- a/cookbooks/tile/recipes/default.rb +++ b/cookbooks/tile/recipes/default.rb @@ -169,7 +169,7 @@ node[:tile][:data].each do |name,data| execute file do action :nothing - command "unzip -qq #{file} -d #{directory}" + command "unzip -qq -o #{file} -d #{directory}" user "tile" group "tile" end