Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/action_upgrade.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,10 @@ pub fn upgrade_real(devel: bool, rua_paths: &RuaPaths, ignored: &HashSet<&str>)
let user_input = terminal_util::read_line_lowercase();
if &user_input == "o" {
let outdated: Vec<String> = outdated.iter().map(|o| o.0.to_string()).collect();
action_install::install(&outdated, rua_paths, false, true);
// Using `false` here means we pass neither `--asdeps` nor `--asexplicit`
// to pacman, effectively leaving install reasons untouched.
let asdeps = false;
action_install::install(&outdated, rua_paths, false, asdeps);
break;
} else if &user_input == "x" {
break;
Expand Down