From ae09b08b7258243aa0f25c960794e4c7c4e5782e Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Thu, 10 Jan 2019 22:31:08 +0000 Subject: [PATCH] koji_builder: Try and override the LANG env instead of setting it if it is not already set Signed-off-by: Kevin Fenzi --- roles/koji_builder/templates/builders/site-defaults.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/koji_builder/templates/builders/site-defaults.cfg b/roles/koji_builder/templates/builders/site-defaults.cfg index 7d721e5238..a185fd84e5 100644 --- a/roles/koji_builder/templates/builders/site-defaults.cfg +++ b/roles/koji_builder/templates/builders/site-defaults.cfg @@ -4,7 +4,7 @@ config_opts['dnf_common_opts'] = ['--setopt=install_weak_deps=0'] config_opts['macros']['%bugurl'] = 'https://bugz.fedoraproject.org/%name' config_opts['nosync'] = True config_opts['nosync_force'] = True -config_opts['environment']['LANG'] = os.environ.setdefault('LANG', 'C.UTF-8') +config_opts['environment']['LANG'] = 'C.UTF-8' {% if env == 'staging' %} ##config_opts['plugin_conf']['tmpfs_enable'] = True #config_opts['plugin_conf']['tmpfs_opts'] = {}