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

dev at openvswitch.org dev at openvswitch.org
Tue Jan 24 22:35:43 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.5 has been updated
       via  89e949a8d824f597a13873f778699e365792c54e (commit)
      from  8051ca8bd8b6c25fc112560babb5550de4724bd2 (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 89e949a8d824f597a13873f778699e365792c54e
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=89e949a8d824f597a13873f778699e365792c54e
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