mirror of
				https://github.com/gutosie/neoboot.git
				synced 2025-11-03 20:55:47 +01:00 
			
		
		
		
	Add files via upload
This commit is contained in:
		@@ -1102,17 +1102,17 @@ class NeoBootImageChoose(Screen):
 | 
				
			|||||||
            if fileExists('/tmp/*.zip'):
 | 
					            if fileExists('/tmp/*.zip'):
 | 
				
			||||||
                    os.system('rm /tmp/*.zip')
 | 
					                    os.system('rm /tmp/*.zip')
 | 
				
			||||||
            if fileExists('/usr/bin/curl'):
 | 
					            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 not fileExists('/tmp/neoboot-main/NeoBoot'):
 | 
				
			||||||
                    if fileExists('/tmp/main.zip'):
 | 
					                    if fileExists('/tmp/main.zip'):
 | 
				
			||||||
                            os.system('rm -r /tmp/main.zip')            
 | 
					                            os.system('rm -r /tmp/main.zip')            
 | 
				
			||||||
                    if fileExists('/usr/bin/fullwget'):            
 | 
					                    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 not fileExists('/tmp/neoboot-main/NeoBoot'):
 | 
				
			||||||
                    if fileExists('/tmp/main.zip'):
 | 
					                    if fileExists('/tmp/main.zip'):
 | 
				
			||||||
                            os.system('rm -r /tmp/main.zip')            
 | 
					                            os.system('rm -r /tmp/main.zip')            
 | 
				
			||||||
                    if fileExists('/usr/bin/wget'):            
 | 
					                    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'):
 | 
					            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)
 | 
					                    self.session.open(MessageBox, _('Unfortunately, at the moment not found an update, try again later.'), MessageBox.TYPE_INFO, 10)
 | 
				
			||||||
            else:
 | 
					            else:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user