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
commit 6a80bae2c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"