Browse Source

Also parse FILES section

v0
maze 4 years ago
parent
commit
de652ea842
1 changed files with 1 additions and 5 deletions
  1. +1
    -5
      repository.go

+ 1
- 5
repository.go View File

@ -66,11 +66,7 @@ func ReadRepositoryDB(r io.Reader) (*Repository, error) {
repo.Packages = append(repo.Packages, pkg)
}
switch base {
case "desc":
if err = pkg.readPackageDesc(t); err != nil {
return nil, err
}
case "depends":
case "desc", "depends", "files":
if err = pkg.readPackageDesc(t); err != nil {
return nil, err
}


Loading…
Cancel
Save