Skip to content

Commit

Permalink
fix -Ss
Browse files Browse the repository at this point in the history
  • Loading branch information
Toni500github committed May 1, 2024
1 parent 97bf45b commit 8865263
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,9 @@ int installPkg(alpm_list_t *pkgNames) {
}
}

if (op.op_s_search) // we already searched the package and printed the infos
return returnStatus;

log_println(DEBUG, "Installing {}", fmt::join(pkgNamesVec, " "));
pkgs_to_install.erase(pkgs_to_install.length()-1);
if (!pacman_exec("-U", split(pkgs_to_install, ' '), false)) {
Expand Down

0 comments on commit 8865263

Please sign in to comment.