Update extract.py

This commit is contained in:
gutosie
2022-02-14 13:48:59 +02:00
committed by GitHub
parent 9ca4f4cef5
commit 9b071163ad

View File

@@ -885,7 +885,7 @@ def NEOBootExtract(source, target, ZipDelete, Nandsim):
os.system('rm -rf ' + sourcefile)
#Instalacja MIPS
if getCPUtype() == 'MIPS':
if getCPUtype() == 'MIPS' and not os.path.exists('' + getNeoLocation() + 'ImageBoot/root.jffs2'):
if os.path.exists('' + getNeoLocation() + 'ubi') is False:
rc = os.system('mkdir ' + getNeoLocation() + 'ubi')
to = '' + getNeoLocation() + 'ImageBoot/' + target