summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-10-25 16:53:56 -0700
committerGitHub <noreply@github.com>2018-10-25 16:53:56 -0700
commit9061ac6784e68678d82f066c66384f1988b6b181 (patch)
tree2cc6c5f680a0a907d55d6c3c0e2fff87158956d5
parentc3dc0297d2727e7b964086dbe79adb2f6beb5301 (diff)
parent0911395c4ebdef7799545d986be3b045bad92935 (diff)
downloadchef-9061ac6784e68678d82f066c66384f1988b6b181.tar.gz
Merge pull request #7782 from chef/fix_locale
Fix locale on RHEL 6 / Amazon Linux
-rw-r--r--lib/chef/resource/locale.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/locale.rb b/lib/chef/resource/locale.rb
index bde1ee704e..9c5e7d0eea 100644
--- a/lib/chef/resource/locale.rb
+++ b/lib/chef/resource/locale.rb
@@ -61,7 +61,7 @@ class Chef
end
execute "reload root's lang profile script" do
- command "source source /etc/sysconfig/i18n; source /etc/profile.d/lang.sh"
+ command "source /etc/sysconfig/i18n; source /etc/profile.d/lang.sh"
not_if { updated }
end
elsif ::File.exist?("/usr/sbin/update-locale")