dom0-updates: force 'C' locale for rpm --checksig call

Otherwise "OK", searched by regex, might be translated (which is the
case for es_ES locale).
release2
Marek Marczykowski-Górecki 10 years ago
parent 85dd4a84f6
commit c103f3713c

@ -64,6 +64,7 @@ def handle_dom0updates(updatevm):
shutil.rmtree(updates_repodata_dir)
if os.path.exists(updates_error_file):
os.remove(updates_error_file)
os.environ['LC_ALL'] = 'C'
qubes_gid = grp.getgrnam('qubes').gr_gid
os.mkdir(updates_rpm_dir)
os.chown(updates_rpm_dir, -1, qubes_gid)

Loading…
Cancel
Save