mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
kernel-overlays-setup: fix ls error in journal if .config/firmware doesn't exist
Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
parent
191b1a3d65
commit
23cc2e1b9b
@ -74,7 +74,7 @@ if [ -d "${OVERLAY_CONFIG_DIR}" ] ; then
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -d "${USER_FIRMWARE_DIR}" -a -n "$(ls ${USER_FIRMWARE_DIR})" ] ; then
|
||||
if [ -d "${USER_FIRMWARE_DIR}" ] && [ -n "$(ls ${USER_FIRMWARE_DIR})" ] ; then
|
||||
if cp -rfs "${USER_FIRMWARE_DIR}"/* "${FIRMWARE_DIR}" ; then
|
||||
log "added firmware from ${USER_FIRMWARE_DIR}"
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user