lib/s3repo/repo.rb in s3repo-0.3.3 vs lib/s3repo/repo.rb in s3repo-0.3.4
- old
+ new
@@ -17,10 +17,10 @@
end
end
def add_packages(paths)
paths.select! { |path| upload_package(path) }
- metadata.add_packages(paths)
+ metadata.add_packages(paths) unless paths.empty?
end
def remove_packages(packages)
metadata.remove_packages(packages)
end