ztotherad/MyMinds_Kernel_Swap — pull request #1 by ModdingMyMind (2014-06-02 20:13:20+00:00)
Title: Some minor updates/fixes to the script.

Hey man, made some small adjustments. Some people are known for building kernels without module support basically meaning that all their kernel builds are capable of using the devices stock modules. So I added a check block to see if the zip has any modules and if it doesn't them it just ignores that step and continues on.

There was also a mistake where I forgot to add "else". Not a big to do as the script would still work previously but I have now implemented this and added "return 1" within the KERNEL_ABORT method so that it will exit the script if certain criterias are not met.

Feel free to merge this, up to you bro.

Suggestions are also welcome.