summaryrefslogtreecommitdiff
path: root/UpdateManager
diff options
context:
space:
mode:
authorMichael Vogt <egon@top>2005-12-05 13:58:50 +0100
committerMichael Vogt <egon@top>2005-12-05 13:58:50 +0100
commit94cf8cacad5850683d35b84682ab024fb7636df0 (patch)
treee89748b8970ccab7627c8325fd83b6f14e203b51 /UpdateManager
parent05dfbc4450a14f46fe5719f3bf321345f8b422ed (diff)
downloadpython-apt-94cf8cacad5850683d35b84682ab024fb7636df0.tar.gz
* DistUpgrade/ tool started
* SoftwareProperties/aptsources.py: - added "backup" and some comments * UpdateManager/UpdateManager.py: - comments updated
Diffstat (limited to 'UpdateManager')
-rw-r--r--UpdateManager/UpdateManager.py5
1 files changed, 5 insertions, 0 deletions
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):