Check dkms for determining if xone is installed

This commit is contained in:
Manuel Thalmann 2024-06-19 13:39:30 +02:00
parent 4567f66234
commit eebcfa8166

View file

@ -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;