lib/berkshelf/locations/chef_api_location.rb in berkshelf-0.6.0.beta2 vs lib/berkshelf/locations/chef_api_location.rb in berkshelf-0.6.0.beta3

- old
+ new

@@ -128,10 +128,10 @@ cookbook = rest.get_rest(uri) scratch = download_files(cookbook.manifest) cb_path = File.join(destination, "#{name}-#{version}") - FileUtils.mv(scratch, cb_path, force: true) + FileUtils.mv(scratch, cb_path) cached = CachedCookbook.from_store_path(cb_path) validate_cached(cached) set_downloaded_status(true)