mirror of
https://github.com/gutosie/neoboot.git
synced 2025-11-03 20:55:47 +01:00
Update plugin.py
This commit is contained in:
@@ -203,7 +203,7 @@ class NeoBootInstallation(Screen):
|
|||||||
writefile.close()
|
writefile.close()
|
||||||
|
|
||||||
def SetDiskLabel(self):
|
def SetDiskLabel(self):
|
||||||
if fileExists('/usr/lib/python3.8') or fileExists('/usr/lib/python3.9') or fileExists(' /tmp/.upneo') :
|
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.'), type=MessageBox.TYPE_ERROR)
|
self.session.open(MessageBox, _('Skip this step and install NeoBoot.'), type=MessageBox.TYPE_ERROR)
|
||||||
|
|
||||||
elif getCheckExt() != 'vfat' and getCheckExt() == 'ext3' or getCheckExt() == 'ext4' :
|
elif getCheckExt() != 'vfat' and getCheckExt() == 'ext3' or getCheckExt() == 'ext4' :
|
||||||
@@ -358,7 +358,7 @@ class NeoBootInstallation(Screen):
|
|||||||
|
|
||||||
def devices(self):
|
def devices(self):
|
||||||
check = False
|
check = False
|
||||||
if fileExists('/usr/lib/python3.8') or fileExists('/usr/lib/python3.9') or fileExists(' /tmp/.upneo') :
|
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.'), type=MessageBox.TYPE_ERROR)
|
self.session.open(MessageBox, _('Skip this step and install NeoBoot.'), type=MessageBox.TYPE_ERROR)
|
||||||
elif check == False:
|
elif check == False:
|
||||||
message = _('After selecting OK start Mounting Manager, option Mount - green\n')
|
message = _('After selecting OK start Mounting Manager, option Mount - green\n')
|
||||||
|
|||||||
Reference in New Issue
Block a user