Checking kernel.release version for Debian updated

this didn't work for kernel 3.14.1 which is greater than 3.8
error message:
ERROR: '3.14-1' does not match 'x.y.z' or 'x.y'