Update tools.py

This commit is contained in:
gutosie
2022-01-21 20:20:49 +02:00
committed by GitHub
parent 136c7ed52c
commit d491d6ec87

View File

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