mirror of
				https://github.com/gutosie/neoboot.git
				synced 2025-11-03 20:55:47 +01:00 
			
		
		
		
	fix 9.24
This commit is contained in:
		@@ -625,8 +625,6 @@ class NeoBootInstallation(Screen):
 | 
				
			|||||||
                                             
 | 
					                                             
 | 
				
			||||||
            if fileExists('' + LinkNeoBoot + '/ubi_reader'): 
 | 
					            if fileExists('' + LinkNeoBoot + '/ubi_reader'): 
 | 
				
			||||||
                os.system('rm -r ' + LinkNeoBoot + '/ubi_reader ')                
 | 
					                os.system('rm -r ' + LinkNeoBoot + '/ubi_reader ')                
 | 
				
			||||||
            if not fileExists('/etc/name'):
 | 
					 | 
				
			||||||
                os.system('touch /etc/name')                 
 | 
					 | 
				
			||||||
                
 | 
					                
 | 
				
			||||||
            if getCPUtype() == 'ARMv7':                                                                                                                                     
 | 
					            if getCPUtype() == 'ARMv7':                                                                                                                                     
 | 
				
			||||||
                        os.system('cd ' + LinkNeoBoot + '/; mv ./bin/fbcleararm ./bin/fbclear; chmod 755 ./bin/fbclear; rm -f ./bin/nandwrite; rm -f ./bin/fbclearmips; mv ./ubi_reader_arm ./ubi_reader; rm -r ./ubi_reader_mips; rm ./bin/neoinitmips; rm ./bin/neoinitmipsvu; rm -r ./bin/nanddump_mips; rm ./bin/nfidump; rm ./bin/neobmmips; rm ./bin/neobm; mv ./bin/neobmarm ./bin/neobm; rm ./bin/fontforneoboot.ttf; rm ./bin/libpngneo; cd')   
 | 
					                        os.system('cd ' + LinkNeoBoot + '/; mv ./bin/fbcleararm ./bin/fbclear; chmod 755 ./bin/fbclear; rm -f ./bin/nandwrite; rm -f ./bin/fbclearmips; mv ./ubi_reader_arm ./ubi_reader; rm -r ./ubi_reader_mips; rm ./bin/neoinitmips; rm ./bin/neoinitmipsvu; rm -r ./bin/nanddump_mips; rm ./bin/nfidump; rm ./bin/neobmmips; rm ./bin/neobm; mv ./bin/neobmarm ./bin/neobm; rm ./bin/fontforneoboot.ttf; rm ./bin/libpngneo; cd')   
 | 
				
			||||||
@@ -646,6 +644,8 @@ class NeoBootInstallation(Screen):
 | 
				
			|||||||
            if os.path.isfile('/etc/name'):
 | 
					            if os.path.isfile('/etc/name'):
 | 
				
			||||||
                self.myclose2(_('The plug-in has been successfully installed.' ))             
 | 
					                self.myclose2(_('The plug-in has been successfully installed.' ))             
 | 
				
			||||||
            else:
 | 
					            else:
 | 
				
			||||||
 | 
					                if not fileExists('/etc/name'):
 | 
				
			||||||
 | 
					                    os.system('touch /etc/name')                 
 | 
				
			||||||
                closereboot = self.rebootSTBE2()    
 | 
					                closereboot = self.rebootSTBE2()    
 | 
				
			||||||
                self.session.open(Console, _('NeoBoot Install....'), [cmd])             
 | 
					                self.session.open(Console, _('NeoBoot Install....'), [cmd])             
 | 
				
			||||||
                self.close(closereboot)               
 | 
					                self.close(closereboot)               
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user