Correctly set op and ignore for repo only installs

This commit is contained in:
morganamilo 2018-06-11 18:49:35 +01:00
parent 09ad692864
commit ab38507bea
No known key found for this signature in database
GPG key ID: 6FE9E7996B0B082E

View file

@ -106,7 +106,9 @@ func install(parser *arguments) error {
}
if len(dp.Aur) == 0 {
parser.op = "S"
parser.delArg("y", "refresh")
parser.options["ignore"] = arguments.options["ignore"]
return passToPacman(parser)
}