Skip to content

Commit

Permalink
Don't prompt to continue install when pacman is going to prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
Morganamilo committed Oct 30, 2020
1 parent c56c42a commit 9663f84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/install.rs
Expand Up @@ -308,7 +308,7 @@ fn install_actions(
}
}

if !ask(config, "Proceed with installation?", true) {
if actions.install.is_empty() && !ask(config, "Proceed with installation?", true) {
return Ok(1);
}

Expand Down

0 comments on commit 9663f84

Please sign in to comment.