mirror of
				https://github.com/gutosie/neoboot.git
				synced 2025-10-31 03:15:48 +01:00 
			
		
		
		
	Add files via upload
This commit is contained in:
		| @@ -869,6 +869,8 @@ class MyUpgrade2(Screen): | |||||||
|              self.activityTimer.start(10) |              self.activityTimer.start(10) | ||||||
|  |  | ||||||
|         def updateInfo(self): |         def updateInfo(self): | ||||||
|  |             periodo = '/usr/lib/periodon' | ||||||
|  |             testinout = '/usr/lib/enigma2/python/Tools/Testinout.pyo'         | ||||||
|             self.activityTimer.stop() |             self.activityTimer.stop() | ||||||
|             f2 = open('%sImageBoot/.neonextboot' % getNeoLocation(), 'r') |             f2 = open('%sImageBoot/.neonextboot' % getNeoLocation(), 'r') | ||||||
|             mypath2 = f2.readline().strip() |             mypath2 = f2.readline().strip() | ||||||
| @@ -881,10 +883,16 @@ class MyUpgrade2(Screen): | |||||||
|                     dirfile = '%sImageBoot/'  % getNeoLocation() + fn |                     dirfile = '%sImageBoot/'  % getNeoLocation() + fn | ||||||
|                     if isdir(dirfile): |                     if isdir(dirfile): | ||||||
|                         target = dirfile + '' +LinkNeoBoot+ '' |                         target = dirfile + '' +LinkNeoBoot+ '' | ||||||
|  |                         target1 = dirfile + '' +periodo+ '' | ||||||
|  |                         target2 = dirfile + '' +testinout+ '' | ||||||
|                         cmd = 'rm -r ' + target + ' > /dev/null 2>&1' |                         cmd = 'rm -r ' + target + ' > /dev/null 2>&1' | ||||||
|                         system(cmd) |                         system(cmd) | ||||||
|                         cmd = 'cp -r ' +LinkNeoBoot+ ' ' + target |                         cmd = 'cp -r ' +LinkNeoBoot+ ' ' + target | ||||||
|                         system(cmd) |                         system(cmd) | ||||||
|  |                         cmd1 = 'cp -r ' +periodo+ ' ' + target1 | ||||||
|  |                         system(cmd1) | ||||||
|  |                         cmd2 = 'cp -r ' +testinout+ ' ' + target2 | ||||||
|  |                         system(cmd2) | ||||||
|  |  | ||||||
|                 out = open('%sImageBoot/.version'  % getNeoLocation(), 'w') |                 out = open('%sImageBoot/.version'  % getNeoLocation(), 'w') | ||||||
|                 out.write(PLUGINVERSION) |                 out.write(PLUGINVERSION) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user