Check dkms
for determining if xone
is installed
This commit is contained in:
parent
a20e7059c5
commit
1409272af8
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ contextRoot="$(mktemp -d)";
|
||||||
repo="https://github.com/manuth/xone.git";
|
repo="https://github.com/manuth/xone.git";
|
||||||
pushd "$contextRoot" > /dev/null;
|
pushd "$contextRoot" > /dev/null;
|
||||||
|
|
||||||
if ! lsmod | grep xone > /dev/null;
|
if ! dkms status --all 2>&1 | grep xone > /dev/null;
|
||||||
then
|
then
|
||||||
git clone "$repo" "$contextRoot";
|
git clone "$repo" "$contextRoot";
|
||||||
sudo "$contextRoot/install.sh" --release;
|
sudo "$contextRoot/install.sh" --release;
|
||||||
|
|
Loading…
Reference in a new issue