summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2014-10-23 10:42:25 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2014-10-23 10:42:25 -0700
commit915691a5053f2779805462ea98cbccfc76e0cce3 (patch)
treea797dd50da704ac054edbdcc7ad6242b658df565
parent94dc0364dfa99dba3a5dbfbefeb08f41926b5468 (diff)
downloadchef-lcg/remove-force-utf8.tar.gz
remove force of utf-8lcg/remove-force-utf8
chef-12 will do this globally
-rw-r--r--lib/chef/provider/package/pacman.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/chef/provider/package/pacman.rb b/lib/chef/provider/package/pacman.rb
index a9ff0edf7f..4963d1910c 100644
--- a/lib/chef/provider/package/pacman.rb
+++ b/lib/chef/provider/package/pacman.rb
@@ -34,7 +34,6 @@ class Chef
Chef::Log.debug("#{@new_resource} checking pacman for #{@new_resource.package_name}")
status = popen4("pacman -Qi #{@new_resource.package_name}") do |pid, stdin, stdout, stderr|
stdout.each do |line|
- line.force_encoding(Encoding::UTF_8) if line.respond_to?(:force_encoding)
case line
when /^Version(\s?)*: (.+)$/
Chef::Log.debug("#{@new_resource} current version is #{$2}")