mirror of
https://github.com/gutosie/neoboot.git
synced 2025-11-01 20:05:48 +01:00
Add files via upload
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user