update 9.31

This commit is contained in:
gutosie
2021-08-22 10:56:29 +03:00
committed by GitHub
parent 33329b0c4b
commit 389db3bdef

View File

@@ -1905,6 +1905,10 @@ class Opis(Screen):
ybox.setTitle(_('Install.')) ybox.setTitle(_('Install.'))
def neogithub(self, answer): def neogithub(self, answer):
if fileExists('/.multinfo'):
self.myClose(_('Sorry, Neoboot can be installed or upgraded only when booted from Flash'))
self.close()
else:
if answer is True: if answer is True:
if fileExists('' + LinkNeoBoot + '/.location'): if fileExists('' + LinkNeoBoot + '/.location'):
system('rm -f ' + LinkNeoBoot + '/.location') system('rm -f ' + LinkNeoBoot + '/.location')
@@ -1957,7 +1961,9 @@ class Opis(Screen):
self.close() self.close()
else: else:
self.close() self.close()
def myClose(self, message):
self.session.open(MessageBox, message, MessageBox.TYPE_INFO)
self.close()
class ReinstallKernel(Screen): class ReinstallKernel(Screen):
__module__ = __name__ __module__ = __name__