mirror of
https://github.com/raspberrypi/rpi-update.git
synced 2026-01-21 06:13:34 +08:00
Don't require /lib/modules when SKIP_KERNEL is requested
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user