The install.sh script does not identofy correctly the major version. In particular grep -oE '[0-9]+\.[0-9]+' | cut -d. -f1 returns every dotted number in containerd://2.3.4-k3s1.36, so version_major is 2\n1, the test prints line 167: [: too many arguments, returns false, and the function falls through to echo "true".
The install.sh script does not identofy correctly the major version. In particular
grep -oE '[0-9]+\.[0-9]+' | cut -d. -f1returns every dotted number incontainerd://2.3.4-k3s1.36, soversion_majoris2\n1, the test printsline 167: [: too many arguments, returns false, and the function falls through toecho "true".