mirror of
https://github.com/gutosie/neoboot.git
synced 2025-11-01 11:55:47 +01:00
Update tools.py
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# system modules
|
# system modules
|
||||||
|
|
||||||
@@ -2365,7 +2365,7 @@ class Opis(Screen):
|
|||||||
self.close()
|
self.close()
|
||||||
else:
|
else:
|
||||||
if answer is True:
|
if answer is True:
|
||||||
os.system('touch /tmp/.upneo; rm -r /tmp/.*; chattr -i ' + LinkNeoBoot + '/plugin.py')
|
os.system('touch /tmp/.upneo; rm -r /tmp/.*')
|
||||||
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