From 1409272af8b81eb66af667fece98c71698cc066f Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Wed, 19 Jun 2024 13:39:30 +0200 Subject: [PATCH] Check `dkms` for determining if `xone` is installed --- scripts/Arch/Software/xone/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Arch/Software/xone/install.sh b/scripts/Arch/Software/xone/install.sh index ed5f175b..52b8b829 100755 --- a/scripts/Arch/Software/xone/install.sh +++ b/scripts/Arch/Software/xone/install.sh @@ -6,7 +6,7 @@ contextRoot="$(mktemp -d)"; repo="https://github.com/manuth/xone.git"; pushd "$contextRoot" > /dev/null; -if ! lsmod | grep xone > /dev/null; +if ! dkms status --all 2>&1 | grep xone > /dev/null; then git clone "$repo" "$contextRoot"; sudo "$contextRoot/install.sh" --release;