Skip to content

Commit

Permalink
Don't process aur packages when -n passed to -Q
Browse files Browse the repository at this point in the history
  • Loading branch information
Morganamilo committed Nov 15, 2024
1 parent 49e79db commit c1edcd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ pub async fn print_upgrade_list(config: &mut Config) -> Result<i32> {
repo_ret = exec::pacman(config, &args)?.code();
}

if !aur.is_empty() {
if !aur.is_empty() && (config.mode.pkgbuild() || config.mode.aur()) {
let error = config.color.error;

for &pkg in &aur {
Expand Down

0 comments on commit c1edcd3

Please sign in to comment.