985
985
if opts.set_lang is not False:
986
986
script += 'export LANG=%s; ' % opts.set_lang
987
987
script += 'unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE '\
990
990
# there's no way to tell su to not reset $PATH, for install-tmp mode;
991
991
# we also need it to amend fixed values in /etc/environment
992
992
for e in self.install_tmp_env: