mirror of
https://github.com/gutosie/neoboot.git
synced 2025-11-02 20:25:47 +01:00
Update tools.py
This commit is contained in:
@@ -2240,7 +2240,9 @@ class Opis(Screen):
|
|||||||
self.close()
|
self.close()
|
||||||
else:
|
else:
|
||||||
if answer is True:
|
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'):
|
if fileExists('' + LinkNeoBoot + '/.location'):
|
||||||
system('rm -f ' + LinkNeoBoot + '/.location')
|
system('rm -f ' + LinkNeoBoot + '/.location')
|
||||||
if fileExists('/usr/bin/curl'):
|
if fileExists('/usr/bin/curl'):
|
||||||
|
|||||||
Reference in New Issue
Block a user