]> git.openstreetmap.org Git - chef.git/commitdiff
Allow overwrite when updating forum style
authorTom Hughes <tom@compton.nu>
Thu, 22 Aug 2019 11:51:05 +0000 (12:51 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 22 Aug 2019 11:51:05 +0000 (12:51 +0100)
cookbooks/forum/recipes/default.rb

index 107360abcb5efdc090f95174fafaf6e5c0daa525..22015e68a48ee996826cedef81f19b797675c0cf 100644 (file)
@@ -69,7 +69,7 @@ end
 
 execute "/var/cache/chef/air3_v0.8.zip" do
   action :nothing
-  command "unzip -qq /var/cache/chef/air3_v0.8.zip Air3.css Air3/*"
+  command "unzip -o -qq /var/cache/chef/air3_v0.8.zip Air3.css Air3/*"
   cwd "/srv/forum.openstreetmap.org/html/style"
   user "forum"
   group "forum"