Merge pull request #618 from Morganamilo/fix#546

Ensure AUR upgrades actually use the AUR
This commit is contained in:
Anna 2018-08-03 23:27:03 +01:00 committed by GitHub
commit 55ca78e74d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -93,7 +93,8 @@ func install(parser *arguments) error {
}
for up := range aurUp {
requestTargets = append(requestTargets, up)
requestTargets = append(requestTargets, "aur/" + up)
parser.addTarget("aur/" + up)
}
value, _, exists := cmdArgs.getArg("ignore")
@ -105,10 +106,6 @@ func install(parser *arguments) error {
}
arguments.options["ignore"] = ignoreStr
}
for pkg := range aurUp {
parser.addTarget(pkg)
}
}
targets := sliceToStringSet(parser.targets)