diff --git a/NeoBoot/plugin.py b/NeoBoot/plugin.py index fd2979b..6c54f7c 100644 --- a/NeoBoot/plugin.py +++ b/NeoBoot/plugin.py @@ -413,9 +413,9 @@ class NeoBootInstallation(Screen): def devices(self): check = False - #if fileExists('/usr/lib/python3.8') or fileExists('/usr/lib/python3.9') or fileExists('/tmp/.upneo') : - #self.session.open(MessageBox, _('Skip this step and install neoboot.\nThis option is available in the neoboot menu.'), type=MessageBox.TYPE_INFO) - if check == False: + if not fileExists('/usr/lib/python2.7') or fileExists('/usr/lib/python3.8') or fileExists('/usr/lib/python3.9') or fileExists('/tmp/.upneo'): + self.session.open(MessageBox, _('Skip this step and install neoboot.\nThis option is available in the neoboot menu.'), type=MessageBox.TYPE_INFO) + elif check == False: message = _('After selecting OK start Mounting Manager, option Mount - green\n') message += _('Do you want to run the manager to mount the drives correctly ?\n') ybox = self.session.openWithCallback(self.device2, MessageBox, message, MessageBox.TYPE_YESNO)