mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-16 16:23:51 +01:00
fix: actually use cnf path
This commit is contained in:
parent
f14a1c1ea7
commit
43dc34a24f
1 changed files with 1 additions and 1 deletions
|
|
@ -135,7 +135,7 @@ pub fn get_packages(
|
|||
_ => {
|
||||
match package_manager.ends_with("command-not-found") {
|
||||
true => {
|
||||
let result = command_output(shell, &format!("command-not-found {}", executable));
|
||||
let result = command_output(shell, &format!("{} {}", package_manager, executable));
|
||||
if result.is_empty() {
|
||||
return None;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue