Fix incorrect condition

This commit is contained in:
Manuel Thalmann 2024-03-09 00:31:16 +01:00
parent 442db0feb8
commit c46db6b377

View file

@ -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 ! lsmod | grep xone > /dev/null;
then then
git clone "$repo" "$contextRoot"; git clone "$repo" "$contextRoot";
sudo "$contextRoot/install.sh" --release; sudo "$contextRoot/install.sh" --release;