Skip to content

Commit

Permalink
feat: record installed files for rpm package
Browse files Browse the repository at this point in the history
  • Loading branch information
lebauce committed Nov 6, 2023
1 parent 2ba6b01 commit 3e70f59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/fanal/analyzer/pkg/rpm/rpm.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ func (a rpmPkgAnalyzer) parsePkgInfo(rc io.Reader) (types.Packages, []string, er
DependsOn: pkg.Requires, // Will be replaced with package IDs
Maintainer: pkg.Vendor,
Digest: d,
InstalledFiles: files,
}
pkgs = append(pkgs, p)
installedFiles = append(installedFiles, files...)
Expand Down

0 comments on commit 3e70f59

Please sign in to comment.