~kelemeng/langpack-o-matic/bug1128566

Viewing all changes in revision 411.

  • Committer: Martin Pitt
  • Date: 2011-07-01 20:01:07 UTC
  • Revision ID: martin.pitt@canonical.com-20110701200107-suhhze4kawtg0saq
lib/makepkg.py, update_package(): Clean up old data/ when updating a package

This fixes the case when the previous update of that package installed a file
which now moved to a different class. This caused the file to get installed in
two different packages, causing a conflict.
      
This assumes that the update tarballs are always complete wrt. the base
tarball, i. e. we don't have "delta delta" tarballs against the last delta
export. This is currently the case for Launchpad.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: