From 94cf8cacad5850683d35b84682ab024fb7636df0 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Mon, 5 Dec 2005 13:58:50 +0100 Subject: * DistUpgrade/ tool started * SoftwareProperties/aptsources.py: - added "backup" and some comments * UpdateManager/UpdateManager.py: - comments updated --- UpdateManager/UpdateManager.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'UpdateManager') diff --git a/UpdateManager/UpdateManager.py b/UpdateManager/UpdateManager.py index 6527d4e9..62c48cf5 100644 --- a/UpdateManager/UpdateManager.py +++ b/UpdateManager/UpdateManager.py @@ -672,11 +672,16 @@ class UpdateManager(SimpleGladeApp): fetcher.Run() print "Done downloading" + # extract the tarbal print "extracting" tar = tarfile.open(tmpdir+"/"+os.path.basename(uri),"r") for tarinfo in tar: tar.extract(tarinfo) tar.close() + + # FIXME: check a internal dependency file to make sure + # that the script will run correctly + # see if we have a script file that we can run script = "%s/%s" % (tmpdir, self.new_dist.name) if not os.path.exists(script): -- cgit v1.2.3