fix: actually use cnf path

This commit is contained in:
iff 2024-12-08 11:24:05 +01:00
parent f14a1c1ea7
commit 43dc34a24f

View file

@ -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;
}