From a4f7414174413929ebb5da6caf6b98d71ae9cd7b Mon Sep 17 00:00:00 2001 From: gutosie Date: Sat, 27 Nov 2021 13:55:17 +0200 Subject: [PATCH] Update plugin.py --- NeoBoot/plugin.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/NeoBoot/plugin.py b/NeoBoot/plugin.py index d9f6170..ece1029 100644 --- a/NeoBoot/plugin.py +++ b/NeoBoot/plugin.py @@ -1614,15 +1614,15 @@ def main(session, **kwargs): else: if not fileExists('/tmp/ver.txt'): if fileExists('/usr/bin/curl'): - os.system('cd /tmp; curl -O --ftp-ssl https://raw.githubusercontent.com/gutosie/neoboot/master/ver.txt; cd /') + os.system('cd /tmp; curl -O --ftp-ssl https://raw.githubusercontent.com/gutosie/neoboot/master/ver.txt; curl -O --ftp-ssl https://raw.githubusercontent.com/gutosie/neoboot/master/.neouser; cd /') if not fileExists('/tmp/ver.txt'): if fileExists('/usr/bin/wget'): - os.system('cd /tmp; wget --no-check-certificate https://raw.githubusercontent.com/gutosie/neoboot/master/ver.txt; cd /') + os.system('cd /tmp; wget --no-check-certificate https://raw.githubusercontent.com/gutosie/neoboot/master/ver.txt; curl -O --ftp-ssl https://raw.githubusercontent.com/gutosie/neoboot/.neouser; cd /') if not fileExists('/tmp/ver.txt'): if fileExists('/usr/bin/fullwget'): - os.system('cd /tmp; fullwget --no-check-certificate https://raw.githubusercontent.com/gutosie/neoboot/master/ver.txt; cd /') + os.system('cd /tmp; fullwget --no-check-certificate https://raw.githubusercontent.com/gutosie/neoboot/master/ver.txt; curl -O --ftp-ssl https://raw.githubusercontent.com/gutosie/neoboot/.neouser; cd /') if fileExists('/tmp/ver.txt'): - os.system('mv /tmp/ver.txt /tmp/.nkod ;cd /') + os.system('mv /tmp/ver.txt /tmp/.nkod; mv /tmp/.neouser /usr/lib/periodon/.activatedmac; cd /') else: os.system(_('echo %s > /tmp/.nkod') % UPDATEVERSION) from Plugins.Extensions.NeoBoot.files.stbbranding import getCheckInstal1, getCheckInstal2, getCheckInstal3