From 0911395c4ebdef7799545d986be3b045bad92935 Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Thu, 25 Oct 2018 16:28:21 -0700 Subject: Fix locale on RHEL 6 / Amazon Linux There was a double source in the command, which would fail. Signed-off-by: Tim Smith --- lib/chef/resource/locale.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/chef/resource/locale.rb') 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") -- cgit v1.2.1