koji_builder: Try and override the LANG env instead of setting it if it is not already set

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2019-01-10 22:31:08 +00:00
parent b2aa0b93a5
commit ae09b08b72

View file

@ -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'] = {}