mirror of
https://github.com/Jguer/yay
synced 2024-08-31 21:58:39 +00:00
commit
6eb3dccf06
|
@ -71,6 +71,11 @@ func install(parser *arguments) error {
|
|||
parser.targets.set(name)
|
||||
}
|
||||
|
||||
for i, pkg := range requestTargets {
|
||||
_, name := splitDbFromName(pkg)
|
||||
requestTargets[i] = name
|
||||
}
|
||||
|
||||
if len(dt.Missing) > 0 {
|
||||
str := bold(red(arrow+" Error: ")) + "Could not find all required packages:"
|
||||
|
||||
|
@ -93,7 +98,7 @@ func install(parser *arguments) error {
|
|||
return err
|
||||
}
|
||||
|
||||
requestTargets = make([]string, 0, len(repoUp)-len(ignore)+len(aurUp))
|
||||
requestTargets = parser.targets.toSlice()
|
||||
|
||||
for _, up := range repoUp {
|
||||
if !ignore.get(up.Name) {
|
||||
|
|
Loading…
Reference in a new issue