Update extract.py

This commit is contained in:
gutosie
2022-01-30 21:23:48 +02:00
committed by GitHub
parent 8edae9b4da
commit 88d1f072d5

View File

@@ -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