Merge pull request #3867 from MilhouseVH/le10_fix_pastekodi

kodi: fix pastekodi efi check
This commit is contained in:
CvH
2019-09-25 17:37:29 +02:00
committed by GitHub

View File

@@ -36,7 +36,7 @@ fi
echo "${LOG_TYPE} log output for: $(lsb_release)"
if [ "${SYSTEM_ARCH}" = "x86_64" ]; then
if [ -f "/sys/firmware/efi" ]; then
if [ -d "/sys/firmware/efi" ]; then
echo "Firmware Boot Mode: EFI"
else
echo "Firmware Boot Mode: BIOS"