Update command was hard-coded for debian or ubuntu based systems which was 'apt-get'. Setting an update variable accordingly solves this problem.
UPDATE command made generic.
Seems good idea. Should be merged to master.
This code is mostly obsolete - why do you think this is necessary since we only supplied kernels for debian anyway?
I was installing it on RHEL 7.2 and i am using it well. Nothing to do with the kernal types or versions. Simply directed the correct installation path among different distributions which this installation supports.
I propose removing the kernel routine from install.sh as it is obsolete? I think that should fix the problem that you're seeing.
I'll merge this for now but probably we should remove the kernel routine from install.sh.