summaryrefslogtreecommitdiff
path: root/lib/chef/provider/package/dnf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/provider/package/dnf.rb')
-rw-r--r--lib/chef/provider/package/dnf.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/package/dnf.rb b/lib/chef/provider/package/dnf.rb
index 5c74ad0414..67bf24a411 100644
--- a/lib/chef/provider/package/dnf.rb
+++ b/lib/chef/provider/package/dnf.rb
@@ -98,7 +98,7 @@ class Chef
end
end
- def magic_version
+ def magic_version_array
package_name_array.each_with_index.map do |pkg, i|
magical_version(i).version_with_arch
end