Change scx check
This commit is contained in:
parent
77ba440a93
commit
5cbe0e8ef6
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "fedora-kernel-manager"
|
||||
version = "0.1.3"
|
||||
version = "0.1.4"
|
||||
edition = "2021"
|
||||
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
%define pkg_release 0.1.3
|
||||
%define pkg_release 0.1.4
|
||||
|
||||
|
||||
Name: fedora-kernel-manager
|
||||
|
@ -609,8 +609,8 @@ fn create_current_sched_badge(
|
||||
}
|
||||
|
||||
fn is_scx_installed() -> bool {
|
||||
match Command::new("rpm")
|
||||
.args(["-q", "sched-ext-scx"])
|
||||
match Command::new("systemctl")
|
||||
.args(["status", "scx"])
|
||||
.output() {
|
||||
Ok(t) if t.status.success() => true,
|
||||
_ => false
|
||||
|
Loading…
Reference in New Issue
Block a user