From ee7802a25aebf5ad068425ee185f673e26e29606 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 28 May 2013 23:24:24 +0100 Subject: [PATCH] Don't require /lib/modules when SKIP_KERNEL is requested --- rpi-update | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rpi-update b/rpi-update index e13532f..24517ce 100755 --- a/rpi-update +++ b/rpi-update @@ -176,7 +176,8 @@ if [[ ! -d "${FW_PATH}" ]]; then echo " !!! ${FW_PATH} doesn't exist" exit 1 fi -if [[ ! -d "${FW_MODPATH}" ]]; then + +if [[ ${SKIP_KERNEL} -eq 0 ]] && [[ ! -d "${FW_MODPATH}" ]]; then echo " !!! ${FW_MODPATH} doesn't exist" exit 1 fi