lib/linux_admin/yum.rb in linux_admin-0.4.0 vs lib/linux_admin/yum.rb in linux_admin-0.4.1

- old
+ new

@@ -7,10 +7,10 @@ raise ArgumentError, "path is required" unless path options = options.reverse_merge(:database => true, :unique_file_names => true) FileUtils.mkdir_p(path) - cmd = "yum createrepo" + cmd = "createrepo" params = {nil => path} params["--database"] = nil if options[:database] params["--unique-md-filenames"] = nil if options[:unique_file_names] run!(cmd, :params => params) \ No newline at end of file