Update plugin.py

This commit is contained in:
gutosie
2021-03-20 19:51:36 +02:00
committed by GitHub
parent d199853b24
commit fc1a98c5ca

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'):
if fileExists('' + LinkNeoBoot + '/ubi_reader_mips') or fileExists('' + LinkNeoBoot + '/ubi_reader_arm'):
os.system('rm -r ' + LinkNeoBoot + '/ubi_reader ')
if getCPUtype() == 'ARMv7':