fix: pacstall should run without yay arguments (#824)
fix: pacstall should run without yay arguments Co-authored-by: Zahrun <Zahrun@github.com>
This commit is contained in:
@@ -323,16 +323,8 @@ fn upgrade_solus(ctx: &ExecutionContext) -> Result<()> {
|
||||
|
||||
pub fn run_pacstall(ctx: &ExecutionContext) -> Result<()> {
|
||||
let pacstall = require("pacstall")?;
|
||||
ctx.run_type()
|
||||
.execute(&pacstall)
|
||||
.arg("-U")
|
||||
.args(ctx.config().yay_arguments().split_whitespace())
|
||||
.check_run()?;
|
||||
ctx.run_type()
|
||||
.execute(pacstall)
|
||||
.arg("-Up")
|
||||
.args(ctx.config().yay_arguments().split_whitespace())
|
||||
.check_run()
|
||||
ctx.run_type().execute(&pacstall).arg("-U").check_run()?;
|
||||
ctx.run_type().execute(pacstall).arg("-Up").check_run()
|
||||
}
|
||||
|
||||
fn upgrade_clearlinux(ctx: &ExecutionContext) -> Result<()> {
|
||||
|
||||
Reference in New Issue
Block a user