dorimanx/initramfs3 — pull request #11 by StefanescuCristian (2013-05-27 19:22:58+00:00)
Title: Fixed kernel_check

First of all, I am sorry and I don't know how to sumbit only this change. I see that I submit 10 commits and 2 files changed. Maybe you can help me, I don't know what happened.

Second:
Right now, the script failes with an "expr: syntax error" and exits the if block, echoing that no new version is available.
The OLD_VERSION was read incorrectly, and expr compared versions from the site with " *X.YZ*-JB-CM-AOKP-SGII-PWR-CORE (root@dorimanx-virtual-machine) (gcc version 4.7.3 20130328 (prerelease) (Linaro GCC 4.7-2013.04) ) #1 SMP PREEMPT Sat May 25 17:55:03 IDT 2013"

I modified that line to compare only X.YZ with X.YZ from the site.
I tested this with 9.23 and it works.