Merge branch 'Gobidev:main' into main
This commit is contained in:
commit
aa30b62c38
@ -228,7 +228,7 @@ pub fn os(general_readout: &GeneralReadout) -> Option<String> {
|
|||||||
Some("Bedrock Linux".to_string())
|
Some("Bedrock Linux".to_string())
|
||||||
} else {
|
} else {
|
||||||
match general_readout.distribution() {
|
match general_readout.distribution() {
|
||||||
Ok(distribution) => Some(distribution),
|
Ok(distribution) => Some(distribution.replace(" TEMPLATE_VERSION_ID", "")),
|
||||||
Err(_) => None,
|
Err(_) => None,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user