Skip to content

Commit

Permalink
blsctl: Prevent win95 type version issues.
Browse files Browse the repository at this point in the history
Signed-off-by: Ikey Doherty <[email protected]>
  • Loading branch information
ikeycode committed May 23, 2024
1 parent aae91f6 commit 0f4ad5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blsctl/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ fn query_schema(config: &Configuration) -> color_eyre::Result<RootSchema> {

match os_rel.id.as_str() {
"solus" => {
if os_rel.version.name.is_some_and(|v| v.starts_with('4')) {
if os_rel.version.name.is_some_and(|v| v.starts_with("4.")) {
log::trace!("Legacy schema due to Solus 4 installation");
Ok(RootSchema::Legacy("com.solus-project"))
} else {
Expand Down

0 comments on commit 0f4ad5d

Please sign in to comment.