guysoft / CustomPiOS

A Raspberry Pi and other ARM devices distribution builder
GNU General Public License v3.0
514 stars 149 forks source link

Missing space in test for kernel type #17

Closed robiwano closed 6 years ago

robiwano commented 6 years ago

In CustomPiOS/src/modules/kernel/end_chroot_script, the lines 53 and 59 have badly formatted second test, instead of: if [ "$KERNEL_TYPE" == "both" ] || ["$KERNEL_TYPE" == "v6" ]; then it should read: if [ "$KERNEL_TYPE" == "both" ] || [ "$KERNEL_TYPE" == "v6" ]; then Note the space between the second [ and ".

guysoft commented 6 years ago

I can fix it, but FYI pull requests are welcome.