Browse Source

Merge pull request #484 from Morganamilo/repoonly

Correctly set op and ignore for repo only installs
Anna 6 years ago
parent
commit
0f89e09b6d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      install.go

+ 2 - 0
install.go

@@ -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)
 	}