mirror of
https://github.com/gutosie/neoboot.git
synced 2025-10-28 18:06:05 +01:00
Update extract.py
This commit is contained in:
@@ -913,7 +913,7 @@ def NEOBootExtract(source, target, ZipDelete, Nandsim):
|
|||||||
sourcefile4 = media + '/ImagesUpload/%s.gz' % source
|
sourcefile4 = media + '/ImagesUpload/%s.gz' % source
|
||||||
|
|
||||||
#Instalacja *.tar.*
|
#Instalacja *.tar.*
|
||||||
if not os.path.exists('/tmp/xz-gz-tar'):
|
if not os.path.exists('/tmp/xz-gz-tar') and getCPUtype() != 'ARMv7'::
|
||||||
fn = 'NewImage'
|
fn = 'NewImage'
|
||||||
sourcelist = []
|
sourcelist = []
|
||||||
for fn in os.listdir('%sImagesUpload' % getNeoLocation()):
|
for fn in os.listdir('%sImagesUpload' % getNeoLocation()):
|
||||||
@@ -1803,7 +1803,7 @@ def NEOBootExtract(source, target, ZipDelete, Nandsim):
|
|||||||
rc = os.system(cmd)
|
rc = os.system(cmd)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
os.system('echo "NeoBoot wykrył dłąd!!! Prawdopodobnie brak pliku instalacyjnego."')
|
os.system('echo "NeoBoot wykrył błąd!!! Prawdopodobnie brak pliku instalacyjnego."')
|
||||||
|
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user