Update stbbranding.py

This commit is contained in:
gutosie
2022-02-02 13:32:55 +02:00
committed by GitHub
parent e8d2d774b0
commit ac2d7af625

View File

@@ -1076,9 +1076,9 @@ def getExtCheckHddUsb():
with open('/proc/mounts', 'r') as f:
lines = f.read()
f.close()
if lines.find('/media/hdd ext3') != -1 and os.path.exists('/media/hdd/ImageBoot'):
if lines.find('/media/hdd ext3') != -1 or lines.find('/media/hdd type ext3') != -1 and os.path.exists('/media/hdd/ImageBoot'):
neoExt = 'ext3'
if lines.find('/media/usb ext3') != -1 and os.path.exists('/media/usb/ImageBoot'):
if lines.find('/media/usb ext3') != -1 or lines.find('/media/usb type ext3') != -1 and os.path.exists('/media/usb/ImageBoot'):
neoExt = 'ext3'
return neoExt