Skip to content

Commit

Permalink
Check correct args when skipping pacman install
Browse files Browse the repository at this point in the history
Fixes #840
  • Loading branch information
Morganamilo committed Sep 8, 2022
1 parent 4d5612c commit 19df2cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/install.rs
Original file line number Diff line number Diff line change
Expand Up @@ -299,8 +299,8 @@ impl Installer {
}

if !args.targets.is_empty()
|| config.args.has_arg("u", "sysupgrade")
|| config.args.has_arg("y", "refresh")
|| args.has_arg("u", "sysupgrade")
|| args.has_arg("y", "refresh")
{
exec::pacman(config, &args)?.success()?;
}
Expand Down

0 comments on commit 19df2cd

Please sign in to comment.