From 373ae5d14512348b5a89b935938db766f04e48a6 Mon Sep 17 00:00:00 2001 From: gutosie Date: Wed, 14 Dec 2022 11:19:17 +0200 Subject: [PATCH] Update extract.py --- NeoBoot/extract.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/NeoBoot/extract.py b/NeoBoot/extract.py index 7a7651d..6ec5c23 100644 --- a/NeoBoot/extract.py +++ b/NeoBoot/extract.py @@ -897,7 +897,9 @@ def RemoveUnpackDirs(): rc = os.system('rm -fr /tmp/root_jffs2') if os.path.exists('/tmp/xz-gz-tar'): rc = os.system('rm -fr /tmp/xz-gz-tar') - + if os.path.exists('/tmp/other_image'): + rc = os.system('rm -fr /tmp/other_image') + def NEOBootExtract(source, target, ZipDelete, Nandsim): RemoveUnpackDirs() os.system('echo "Press green to hide Console or red to abort the installation\nInstallation started:"; date +%T;echo "Extracting the installation file..."')