]> git.openstreetmap.org Git - chef.git/commitdiff
Allow unzip to overwrite files
authorTom Hughes <tom@compton.nu>
Tue, 27 Aug 2013 18:13:01 +0000 (19:13 +0100)
committerTom Hughes <tom@compton.nu>
Tue, 27 Aug 2013 18:13:01 +0000 (19:13 +0100)
cookbooks/tile/recipes/default.rb

index cd88e91ceb3c779b81c2be54c7bb809f5c292ae2..453c19a7170057e39bd26fc21358aeec35e7ab74 100644 (file)
@@ -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