Update extract.py

This commit is contained in:
gutosie
2022-02-23 16:04:11 +02:00
committed by GitHub
parent 037f89e2d3
commit c69ccf0187

View File

@@ -482,7 +482,7 @@ def NEOBootMainEx(source, target, CopyFiles, CopyKernel, TvList, LanWlan, Sterow
os.system('echo "/etc/init.d not found."')
os.system('echo "Copied file neo_userscript.sh"')
if not os.path.exists('' + getNeoLocation() + 'ImageBoot/.without_copying'):
if not os.path.exists('' + getNeoLocation() + 'ImageBoot/.without_copying') and getBoxHostName() != 'dm500hd' or getBoxHostName() != 'dm800se' or getBoxHostName() != 'dm800' or getBoxHostName() != 'dm8000':
if not os.path.exists('%s/ImageBoot/%s/etc/enigma2' % (media, target)):
cmd = 'mkdir -p %s/ImageBoot/%s/etc/enigma2' % (media, target)
rc = os.system(cmd)