Update tools.py

This commit is contained in:
gutosie
2021-12-11 13:06:07 +02:00
committed by GitHub
parent 88dd7aeb12
commit ec84c7b985

View File

@@ -2132,7 +2132,7 @@ class Opis(Screen):
self.close() self.close()
else: else:
if answer is True: if answer is True:
os.system('chattr -i ' + LinkNeoBoot + '/plugin.py; chattr -i ' + LinkNeoBoot + '/plugin.pyo') os.system('touch /tmp/.upneo; chattr -i ' + LinkNeoBoot + '/plugin.py; chattr -i ' + LinkNeoBoot + '/plugin.pyo')
if fileExists('' + LinkNeoBoot + '/.location'): if fileExists('' + LinkNeoBoot + '/.location'):
system('rm -f ' + LinkNeoBoot + '/.location') system('rm -f ' + LinkNeoBoot + '/.location')
if fileExists('/usr/bin/curl'): if fileExists('/usr/bin/curl'):