From 56560b9ac23d8c7f9fd3425be2832a414912a0b7 Mon Sep 17 00:00:00 2001 From: gutosie Date: Thu, 2 Dec 2021 09:44:54 +0200 Subject: [PATCH] Update plugin.py --- NeoBoot/plugin.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/NeoBoot/plugin.py b/NeoBoot/plugin.py index f48d3cc..45c8666 100644 --- a/NeoBoot/plugin.py +++ b/NeoBoot/plugin.py @@ -368,11 +368,8 @@ class NeoBootInstallation(Screen): def checkinstall(self): if fileExists('/.multinfo'): mess = _('Sorry, Neoboot can be installed or upgraded only when booted from Flash') - self.session.open(MessageBox, mess, MessageBox.TYPE_INFO) - elif getFormat() != 'ext3' or getFormat() != 'ext4': - self['label2'].setText(_('Sorry it seems that there are not Linux formatted devices mounted on your STB. To install NeoBoot you need a Linux formatted part1 device. Click on the blue button to open Devices Panel.')) - self.session.open(MessageBox, _('Disk the directory HDD or USB is not a ext2, ext3 or ext4.\nMake sure you select a valid partition type to install neoboot.'), type=MessageBox.TYPE_ERROR) - else: + self.session.open(MessageBox, mess, MessageBox.TYPE_INFO) + else: self.checkinstall2() def checkinstall2(self):