[ovs-git] Open vSwitch: debian: Delete log files correctly when packages are purged. (branch-1.4)

dev at openvswitch.org dev at openvswitch.org
Tue Jan 24 22:35:36 UTC 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, branch-1.4 has been updated
       via  03b845d81c0b463050516196a4092819a463ee7a (commit)
      from  81548e6b556a30314b1208eecab914da26f4f7d8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 03b845d81c0b463050516196a4092819a463ee7a
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=03b845d81c0b463050516196a4092819a463ee7a
Author: Ben Pfaff <blp at nicira.com>
		
debian: Delete log files correctly when packages are purged.
		
Debian Policy 10.8 says "Log files should be removed when the package is
purged (but not when it is only removed)," but the Open vSwitch packages
didn't properly implement this:

   - The openvswitch-brcompat and openvswitch-pki packages didn't delete
     their log files at purge time.

   - The openvswitch-switch package deleted all of the log files at purge
     time, even those owned by openvswitch-brcompat or openvswitch-pki.

This commit fixes both problems.

CC: 656448 at bugs.debian.org
Reported-by: Andreas Beckmann <debian at abeckmann.de>
Signed-off-by: Ben Pfaff <blp at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 debian/automake.mk                                 |    2 ++
 ...h-switch.postrm => openvswitch-brcompat.postrm} |    7 ++-----
 ...switch-switch.postrm => openvswitch-pki.postrm} |    7 ++-----
 debian/openvswitch-switch.postrm                   |    3 ++-
 4 files changed, 8 insertions(+), 11 deletions(-)
 copy debian/{openvswitch-switch.postrm => openvswitch-brcompat.postrm} (81%)
 copy debian/{openvswitch-switch.postrm => openvswitch-pki.postrm} (81%)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list