Update plugin.py

This commit is contained in:
gutosie
2021-03-20 20:30:04 +02:00
committed by GitHub
parent fc1a98c5ca
commit 429f5abaf6

View File

@@ -623,7 +623,7 @@ class NeoBootInstallation(Screen):
if fileExists('/home/root/vmlinux.gz'):
os.system('mv -f /home/root/vmlinux.gz %sImagesUpload/.kernel/%s.vmlinux.gz' % (getNeoLocation(), getBoxHostName()) )
if fileExists('' + LinkNeoBoot + '/ubi_reader_mips') or fileExists('' + LinkNeoBoot + '/ubi_reader_arm'):
if fileExists('' + LinkNeoBoot + '/ubi_reader_mips') or fileExists('' + LinkNeoBoot + '/ubi_reader_arm') and fileExists('' + LinkNeoBoot + '/ubi_reader'):
os.system('rm -r ' + LinkNeoBoot + '/ubi_reader ')
if getCPUtype() == 'ARMv7':