Correctly set op and ignore for repo only installs

This commit is contained in:
morganamilo committed 2018-06-11 18:49:35 +01:00
1 parent 09ad692864
commit ab38507bea
1 file changed
+2
+2
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)
}