diff --git a/NeoBoot/extract.py b/NeoBoot/extract.py index 460b90b..dd6333f 100644 --- a/NeoBoot/extract.py +++ b/NeoBoot/extract.py @@ -819,9 +819,10 @@ def RemoveUnpackDirs(): elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/et10000'): rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/et10000') elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/pulse4k*'): - rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/pulse4k*') - - + if os.path.exists('' + getNeoLocation() + 'ImagesUpload/pulse4k*/force_pulse4kmini_READ.ME'): + rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/pulse4k*/force_pulse4kmini_READ.ME; rm -r ' + getNeoLocation() + 'ImagesUpload/pulse4k*/unforce_pulse4kmini.txt') + rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/pulse4k*') + def NEOBootExtract(source, target, ZipDelete): RemoveUnpackDirs() os.system('echo "Press green to hide Console or red to abort the installation\nInstallation started:"; date +%T;echo "Extracting the installation file..."')