kodi: fix pastekodi efi check

This commit is contained in:
MilhouseVH 2019-09-25 15:59:00 +01:00
parent e1034f423d
commit a15eeec91b

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"