diff --git a/NeoBoot/plugin.py b/NeoBoot/plugin.py index 48eb645..1bb4bb3 100644 --- a/NeoBoot/plugin.py +++ b/NeoBoot/plugin.py @@ -1102,17 +1102,17 @@ class NeoBootImageChoose(Screen): if fileExists('/tmp/*.zip'): os.system('rm /tmp/*.zip') if fileExists('/usr/bin/curl'): - os.system('sync; cd /tmp; curl -O --ftp-ssl https://github.com/gutosie/neoboot/archive/main.zip; unzip -qn ./main.zip; sleep 2;sd cd /') + os.system('cd /tmp; curl -O --ftp-ssl https://github.com/gutosie/neoboot/archive/main.zip; unzip -qn ./main.zip; sleep 2;cd /') if not fileExists('/tmp/neoboot-main/NeoBoot'): if fileExists('/tmp/main.zip'): - os.system('rm -r /tmp/main.zip') + os.system('rm -r /tmp/main.zip') if fileExists('/usr/bin/fullwget'): - os.system('cd ' + LinkNeoBoot + ';fullwget --no-check-certificate https://github.com/gutosie/neoboot/archive/main.zip; unzip -qn ./main.zip; sleep 2;sd cd /') + os.system('cd /tmp; fullwget --no-check-certificate https://github.com/gutosie/neoboot/archive/main.zip; unzip -qn ./main.zip; sleep 2;cd /') if not fileExists('/tmp/neoboot-main/NeoBoot'): if fileExists('/tmp/main.zip'): - os.system('rm -r /tmp/main.zip') + os.system('rm -r /tmp/main.zip') if fileExists('/usr/bin/wget'): - os.system('cd /tmp;rm ./*.zip; wget --no-check-certificate https://github.com/gutosie/neoboot/archive/main.zip; unzip -qn ./main.zip; sleep 2;cd / ') + os.system('cd /tmp; rm ./*.zip; wget --no-check-certificate https://github.com/gutosie/neoboot/archive/main.zip; unzip -qn ./main.zip; sleep 2;cd / ') if not fileExists('/tmp/neoboot-main/NeoBoot'): self.session.open(MessageBox, _('Unfortunately, at the moment not found an update, try again later.'), MessageBox.TYPE_INFO, 10) else: