From 4f10835d839796897a796f751fce8e7a2ef7378d Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Sat, 16 Jul 2011 15:11:23 +0200 Subject: [PATCH] dom0: create directory for rpm updates (#198) --- dom0/aux-tools/qubes-receive-updates | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dom0/aux-tools/qubes-receive-updates b/dom0/aux-tools/qubes-receive-updates index a38fe000..cea29247 100755 --- a/dom0/aux-tools/qubes-receive-updates +++ b/dom0/aux-tools/qubes-receive-updates @@ -45,6 +45,8 @@ def handle_dom0updates(updatevm): # Clean old packages if os.path.exists(updates_rpm_dir): shutil.rmtree(updates_rpm_dir) + os.mkdir(updates_rpm_dir) + os.chmod(updates_rpm_dir, 0775) subprocess.check_call(["/usr/lib/qubes/qfile-dom0-unpacker", os.getlogin(), updates_rpm_dir]) # Verify received files for f in os.listdir(updates_rpm_dir):