mirror of
https://github.com/Jguer/yay.git
synced 2024-11-06 09:07:21 +01:00
Fixup asdeps logic
This commit is contained in:
parent
c717b61e69
commit
e01af5dfd6
15
install.go
15
install.go
@ -1047,17 +1047,12 @@ func buildInstallPkgbuilds(dp *depPool, do *depOrder, srcinfos map[string]*gosrc
|
||||
}
|
||||
|
||||
arguments.addTarget(pkgdest)
|
||||
if !dp.Explicit.get(split.Name) && !localNamesCache.get(split.Name) && !remoteNamesCache.get(split.Name) {
|
||||
if parser.existsArg("asdeps", "asdep") {
|
||||
deps = append(deps, split.Name)
|
||||
} else if parser.existsArg("asexplicit", "asexp") {
|
||||
exp = append(exp, split.Name)
|
||||
} else if !dp.Explicit.get(split.Name) && !localNamesCache.get(split.Name) && !remoteNamesCache.get(split.Name) {
|
||||
deps = append(deps, split.Name)
|
||||
}
|
||||
|
||||
if dp.Explicit.get(split.Name) {
|
||||
if parser.existsArg("asdeps", "asdep") {
|
||||
deps = append(deps, split.Name)
|
||||
} else if parser.existsArg("asexplicit", "asexp") {
|
||||
exp = append(exp, split.Name)
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user