nvm you cant get rid of them
This commit is contained in:
parent
882a63d62c
commit
651939f044
@ -38,7 +38,7 @@ pub fn save_packages_to_toml(packages: &[Package], path: &str) -> Result<(), Box
|
||||
|
||||
pub fn get_installed_packages() -> Result<Vec<Package>, Box<dyn std::error::Error>> {
|
||||
let output = Command::new("dpkg-query")
|
||||
.args(&["-W", "-f='${Package}\t${Version}\n'"])
|
||||
.args(&["-W"])
|
||||
.output()?;
|
||||
let stdout = String::from_utf8(output.stdout)?;
|
||||
Ok(parse_dpkg_output(&stdout))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user