diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/Client/Tools/APT.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/Client/Tools/APT.py b/src/lib/Client/Tools/APT.py index bf0394249..871cc7830 100644 --- a/src/lib/Client/Tools/APT.py +++ b/src/lib/Client/Tools/APT.py @@ -68,6 +68,11 @@ class APT(Bcfg2.Client.Tools.PkgTool): self.logger.error("Got Unsupported pattern %s from debsums" \ % item) files.append(item) + # We check if there is file in the checksum to do + if files: + # if files are found there we try to be sure our modlist is sane + # with erroneous symlinks + modlist = [os.path.realpath(filename) for filename in modlist] bad = [filename for filename in files if filename not in modlist] if bad: self.logger.info("Package %s failed validation. Bad files are:" % \ |