Skip to content

Commit

Permalink
Fix xdata field not recognized in database entry
Browse files Browse the repository at this point in the history
  • Loading branch information
cassava committed Mar 20, 2024
1 parent fdcf079 commit 6ce1308
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pacman/read-db.go
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,8 @@ func readDatabasePkgInfo(r io.Reader) (*Package, error) {
info.Conflicts = append(info.Conflicts, line)
case "groups":
info.Groups = append(info.Groups, line)
case "xdata":
info.Xdata = append(info.Xdata, strings.Split(kv[1], " ")...)

Check failure on line 281 in pacman/read-db.go

View workflow job for this annotation

GitHub Actions / lint

undefined: kv) (typecheck)

Check failure on line 281 in pacman/read-db.go

View workflow job for this annotation

GitHub Actions / build

undefined: kv
case "isize", "md5sum", "pgpsig", "sha256sum":
// We ignore these fields for now...
continue
Expand Down

0 comments on commit 6ce1308

Please sign in to comment.