Remove extraneous quote
continuous-integration/drone/pr Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
This commit is contained in:
parent
03720a7338
commit
d03de8cf5d
|
@ -2381,7 +2381,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "peach-config"
|
name = "peach-config"
|
||||||
version = "0.1.22"
|
version = "0.1.23"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"clap",
|
"clap",
|
||||||
"env_logger 0.6.2",
|
"env_logger 0.6.2",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "peach-config"
|
name = "peach-config"
|
||||||
version = "0.1.22"
|
version = "0.1.23"
|
||||||
authors = ["Andrew Reid <gnomad@cryptolab.net>", "Max Fowler <max@mfowler.info>"]
|
authors = ["Andrew Reid <gnomad@cryptolab.net>", "Max Fowler <max@mfowler.info>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
description = "Command line tool for installing, updating and configuring PeachCloud"
|
description = "Command line tool for installing, updating and configuring PeachCloud"
|
||||||
|
|
|
@ -11,7 +11,7 @@ use crate::RtcOption;
|
||||||
/// Helper function which returns the version of a package currently installed,
|
/// Helper function which returns the version of a package currently installed,
|
||||||
/// as an Ok(String) if found, and as an Err if not found
|
/// as an Ok(String) if found, and as an Err if not found
|
||||||
pub fn get_package_version_number(package: &str) -> Result<String, PeachConfigError> {
|
pub fn get_package_version_number(package: &str) -> Result<String, PeachConfigError> {
|
||||||
let version = get_output(&["dpkg-query", "--showformat='${Version}'", "--show", package])?;
|
let version = get_output(&["dpkg-query", "--showformat=${Version}", "--show", package])?;
|
||||||
Ok(version)
|
Ok(version)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue