lib/fig/repository.rb in fig-0.1.31 vs lib/fig/repository.rb in fig-0.1.32
- old
+ new
@@ -114,9 +114,10 @@
if @os.download(remote_fig_file, local_fig_file)
install_package(package_name, version_name)
end
rescue NotFoundException
$stderr.puts "Package not found in remote repository: #{package_name}/#{version_name}"
+ delete_local_package(package_name, version_name)
exit 1
end
end
def read_local_package(package_name, version_name)