diff options
Diffstat (limited to 'UpdateManager/UpdateManager.py')
| -rw-r--r-- | UpdateManager/UpdateManager.py | 5 |
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): |
