~bjornt/landscape-client/update-internal-repos-only

Viewing all changes in revision 526.

  • Committer: Bjorn Tillenius
  • Date: 2012-03-17 08:50:40 UTC
  • mfrom: (517.1.6 remove-binary-repo)
  • Revision ID: bjorn@canonical.com-20120317085040-0zk7pwtd1w0ny1uf
Merged remove-binary-repo [r=chad.smith,jseutter] [f=956590].

Remove the binaries and the facade's internal sources.list after
handling a change-packages message. Before we removed only the binaries
at the start of the message handler, but left the sources.list file, so
apt-get update failed.

I've still left the cleanup in the beginning of the handler, in case the
handler crashed for some reason the last time it was run, leaving the
binaries in place.

Note that I didn't bother doing anything for Smart, since it works as it
is, and we will remove it soon anyway.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: