From 88d1f072d50e97e9b97da8e68b7d40bc455a565a Mon Sep 17 00:00:00 2001 From: gutosie Date: Sun, 30 Jan 2022 21:23:48 +0200 Subject: [PATCH] Update extract.py --- NeoBoot/extract.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/NeoBoot/extract.py b/NeoBoot/extract.py index 46f2440..20d8a97 100644 --- a/NeoBoot/extract.py +++ b/NeoBoot/extract.py @@ -629,7 +629,8 @@ def NEOBootMainEx(source, target, CopyFiles, CopyKernel, TvList, LanWlan, Sterow cmd = 'chmod -R 0755 %s' % filename rc = os.system(cmd) - if os.path.exists('%s/ImageBoot/%s/var/lib/opkg/status' % (media, target)): + #_______________________________________________status1 zmienione + if os.path.exists('%s/ImageBoot/%s/var/lib/opkg/status1' % (media, target)): cmd = 'mv ' + getNeoLocation() + 'ImageBoot/' + target + '/var/lib/opkg/status ' + getNeoLocation() + 'ImageBoot/%s/var/lib/opkg/status-or' % target rc = os.system(cmd) fail = '' + getNeoLocation() + 'ImageBoot/%s/var/lib/opkg/status-or' % target