Check dkms
for determining if xone
is installed
This commit is contained in:
parent
4567f66234
commit
eebcfa8166
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue