Fix incorrect condition
This commit is contained in:
parent
9d48b27ac9
commit
c3e814e598
1 changed files with 1 additions and 1 deletions
|
@ -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 ! lsmod | grep xone > /dev/null;
|
||||
then
|
||||
git clone "$repo" "$contextRoot";
|
||||
sudo "$contextRoot/install.sh" --release;
|
||||
|
|
Loading…
Reference in a new issue