mirror of
https://github.com/mudler/luet.git
synced 2025-09-06 17:50:34 +00:00
Restore parsing of gentoo string with condition (#195)
* cmd/helpers: Permit to parse gentoo package str with condition * Update vendor pkgs-checker @v0.8.1
This commit is contained in:
@@ -56,7 +56,8 @@ func packageData(p string) (string, string) {
|
||||
}
|
||||
func ParsePackageStr(p string) (*pkg.DefaultPackage, error) {
|
||||
|
||||
if !strings.HasPrefix(p, "=") {
|
||||
if !(strings.HasPrefix(p, "=") || strings.HasPrefix(p, ">") ||
|
||||
strings.HasPrefix(p, "<")) {
|
||||
ver := ">=0"
|
||||
cat := ""
|
||||
name := ""
|
||||
|
Reference in New Issue
Block a user