From 429f5abaf6ffd28c41ff3b0812eef54c8630846a Mon Sep 17 00:00:00 2001 From: gutosie Date: Sat, 20 Mar 2021 20:30:04 +0200 Subject: [PATCH] Update plugin.py --- NeoBoot/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NeoBoot/plugin.py b/NeoBoot/plugin.py index 8e4e621..e45ddb5 100644 --- a/NeoBoot/plugin.py +++ b/NeoBoot/plugin.py @@ -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':