summaryrefslogtreecommitdiff
path: root/lib/chef/provider/package/pacman.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/provider/package/pacman.rb')
-rw-r--r--lib/chef/provider/package/pacman.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/chef/provider/package/pacman.rb b/lib/chef/provider/package/pacman.rb
index 01e3a9cc01..275a0c7aa7 100644
--- a/lib/chef/provider/package/pacman.rb
+++ b/lib/chef/provider/package/pacman.rb
@@ -32,8 +32,6 @@ class Chef
@current_resource = Chef::Resource::Package.new(@new_resource.name)
@current_resource.package_name(@new_resource.package_name)
- @current_resource.version(nil)
-
Chef::Log.debug("#{@new_resource} checking pacman for #{@new_resource.package_name}")
status = shell_out_with_timeout("pacman -Qi #{@new_resource.package_name}")
status.stdout.each_line do |line|