diff --git a/Cargo.lock b/Cargo.lock index 821964a..b56d9dc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2381,7 +2381,7 @@ dependencies = [ [[package]] name = "peach-config" -version = "0.1.22" +version = "0.1.23" dependencies = [ "clap", "env_logger 0.6.2", diff --git a/peach-config/Cargo.toml b/peach-config/Cargo.toml index 093e431..679d4d9 100644 --- a/peach-config/Cargo.toml +++ b/peach-config/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "peach-config" -version = "0.1.22" +version = "0.1.23" authors = ["Andrew Reid ", "Max Fowler "] edition = "2018" description = "Command line tool for installing, updating and configuring PeachCloud" diff --git a/peach-config/src/generate_manifest.rs b/peach-config/src/generate_manifest.rs index 20eee83..d69b12e 100644 --- a/peach-config/src/generate_manifest.rs +++ b/peach-config/src/generate_manifest.rs @@ -11,7 +11,7 @@ use crate::RtcOption; /// Helper function which returns the version of a package currently installed, /// as an Ok(String) if found, and as an Err if not found pub fn get_package_version_number(package: &str) -> Result { - let version = get_output(&["dpkg-query", "--showformat='${Version}'", "--show", package])?; + let version = get_output(&["dpkg-query", "--showformat=${Version}", "--show", package])?; Ok(version) }