From: Tom Hughes Date: Sun, 19 Jan 2020 17:53:33 +0000 (+0000) Subject: Avoid overwrite prompts when unzipping X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/05b9549b591a7cb439cd0e08613f79cbf54a770f Avoid overwrite prompts when unzipping --- diff --git a/cookbooks/civicrm/recipes/default.rb b/cookbooks/civicrm/recipes/default.rb index cadc73212..6e492e224 100644 --- a/cookbooks/civicrm/recipes/default.rb +++ b/cookbooks/civicrm/recipes/default.rb @@ -91,7 +91,7 @@ end execute "#{cache_dir}/civicrm-#{civicrm_version}-wordpress.zip" do action :nothing - command "unzip -qq #{cache_dir}/civicrm-#{civicrm_version}-wordpress.zip" + command "unzip -o -qq #{cache_dir}/civicrm-#{civicrm_version}-wordpress.zip" cwd "/opt/civicrm-#{civicrm_version}" user "wordpress" group "wordpress"