mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-16 16:23:51 +01:00
chore: cleanup
This commit is contained in:
parent
02d9cf0754
commit
1454a4b992
4 changed files with 7 additions and 14 deletions
|
|
@ -30,7 +30,10 @@ pub fn get_packages(
|
|||
if !data.has_executable("apt-file") {
|
||||
return None;
|
||||
}
|
||||
let result = command_output(shell, &format!("apt-file find --regexp '.*/bin/{}$'", executable));
|
||||
let result = command_output(
|
||||
shell,
|
||||
&format!("apt-file find --regexp '.*/bin/{}$'", executable),
|
||||
);
|
||||
if result.is_empty() {
|
||||
return None;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue