From c103f3713c629ebd585f9160f2a513f9cb3c11c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Mon, 5 May 2014 04:00:52 +0200 Subject: [PATCH] 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). --- dom0-updates/qubes-receive-updates | 1 + 1 file changed, 1 insertion(+) diff --git a/dom0-updates/qubes-receive-updates b/dom0-updates/qubes-receive-updates index 4d147d0..dd6fda1 100755 --- a/dom0-updates/qubes-receive-updates +++ b/dom0-updates/qubes-receive-updates @@ -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)