mirror of
https://github.com/gutosie/neoboot.git
synced 2025-11-02 04:15:47 +01:00
update 9.31
This commit is contained in:
@@ -1905,6 +1905,10 @@ class Opis(Screen):
|
||||
ybox.setTitle(_('Install.'))
|
||||
|
||||
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 fileExists('' + LinkNeoBoot + '/.location'):
|
||||
system('rm -f ' + LinkNeoBoot + '/.location')
|
||||
@@ -1957,7 +1961,9 @@ class Opis(Screen):
|
||||
self.close()
|
||||
else:
|
||||
self.close()
|
||||
|
||||
def myClose(self, message):
|
||||
self.session.open(MessageBox, message, MessageBox.TYPE_INFO)
|
||||
self.close()
|
||||
|
||||
class ReinstallKernel(Screen):
|
||||
__module__ = __name__
|
||||
|
||||
Reference in New Issue
Block a user