mirror of
https://github.com/Jguer/yay
synced 2024-10-31 04:12:51 +00:00
Correctly set op and ignore for repo only installs
This commit is contained in:
parent
09ad692864
commit
ab38507bea
1 changed files with 2 additions and 0 deletions
|
@ -106,7 +106,9 @@ func install(parser *arguments) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(dp.Aur) == 0 {
|
if len(dp.Aur) == 0 {
|
||||||
|
parser.op = "S"
|
||||||
parser.delArg("y", "refresh")
|
parser.delArg("y", "refresh")
|
||||||
|
parser.options["ignore"] = arguments.options["ignore"]
|
||||||
return passToPacman(parser)
|
return passToPacman(parser)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue