mirror of
https://codeberg.org/iff/pay-respects.git
synced 2025-10-06 00:22:43 +02:00
fix: ubuntu command not found output
This commit is contained in:
@@ -181,7 +181,10 @@ pub fn get_packages(
|
||||
if result.is_empty() {
|
||||
return None;
|
||||
}
|
||||
if result.contains("did you mean") || result.contains("is not installed") {
|
||||
if result.contains("did you mean")
|
||||
|| result.contains("is not installed")
|
||||
|| result.contains("can be installed")
|
||||
{
|
||||
let packages = result
|
||||
.lines()
|
||||
.skip(1)
|
||||
|
Reference in New Issue
Block a user