X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-dev.git/blobdiff_plain/75e430af360e5f920363b5cf7c282b6da44e48d6..e1f7b2844093a084076a7e173b410a5d31ff6674:/invirtibuilder diff --git a/invirtibuilder b/invirtibuilder index 8a6b077..bf3b499 100755 --- a/invirtibuilder +++ b/invirtibuilder @@ -202,8 +202,10 @@ def uploadBuild(pocket, workdir): except subprocess.CalledProcessError, e: if not force: raise - packages = deb822.Changes(open(changes).read())['Binary'] - for package in packages.split(): + changelog = deb822.Changes(open(changes).read()) + packages = set(changelog['Binary'].split()) + packages.add(changelog['Source']) + for package in packages: logAndRun(['reprepro-env', 'remove', apt, package]) logAndRun(upload)