New code to find pkg obsolete files, with a proper kyua test.

Previous code incorrectly found obsolete files in this case:

(curpkg) - in files: /etc/foo.conf
(newpkg) - in conf_files: /etc/foo.conf

and removed this file because the code couldn't find it in the same
array. The new code fixes this case and compares the whole pkg filelist.
This commit is contained in:
Juan RP
2013-03-09 13:30:56 +01:00
parent e2b303363b
commit b976a45aed
6 changed files with 211 additions and 56 deletions

View File

@@ -7,5 +7,6 @@ SUBDIRS += pkgpattern_match
SUBDIRS += plist_match
SUBDIRS += plist_match_virtual
SUBDIRS += util
SUBDIRS += find_pkg_obsoletes
include ../../mk/subdir.mk