mirror of
https://github.com/mudler/luet.git
synced 2025-09-03 08:14:46 +00:00
Make FindPackageMatch match packages HumanReadableString
This commit is contained in:
@@ -411,7 +411,7 @@ func (db *InMemoryDatabase) FindPackageMatch(pattern string) (Packages, error) {
|
||||
return ans, err
|
||||
}
|
||||
|
||||
if re.MatchString(pack.GetCategory() + pack.GetName()) {
|
||||
if re.MatchString(pack.HumanReadableString()) {
|
||||
ans = append(ans, pack)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user