mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-17 00:33:52 +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") {
|
match package_manager.ends_with("command-not-found") {
|
||||||
true => {
|
true => {
|
||||||
let result = command_output(shell, &format!("command-not-found {}", executable));
|
let result = command_output(shell, &format!("{} {}", package_manager, executable));
|
||||||
if result.is_empty() {
|
if result.is_empty() {
|
||||||
return None;
|
return None;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue