mirror of
https://github.com/gutosie/neoboot.git
synced 2026-02-10 14:56:45 +01:00
Update tools.py
This commit is contained in:
@@ -3133,7 +3133,7 @@ class Opis(Screen):
|
||||
10,
|
||||
)
|
||||
if fileExists("/tmp/NeoBoot_Stable.tar.gz"):
|
||||
cmd2 = "tar -czf /tmp/NEOBootLastcOPY.tar.gz /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot; sleep 2; rm -r /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot;sleep 2; /bin/tar -xzvf /tmp/NeoBoot_Stable.tar.gz -C /"
|
||||
cmd2 = "tar -czf /tmp/NEOBootLastcOPY.tar.gz /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot; sleep 2; rm -r /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot;sleep 2; /bin/tar -xzvf /tmp/NeoBoot_Stable.tar.gz -C /; sleep 10; killall -9 enigma2"
|
||||
system(cmd2)
|
||||
self.session.open(
|
||||
MessageBox,
|
||||
@@ -3151,9 +3151,6 @@ class Opis(Screen):
|
||||
)
|
||||
self.close()
|
||||
|
||||
|
||||
###################################################################
|
||||
|
||||
def delete(self):
|
||||
message = _(
|
||||
"Are you sure you want to completely remove NeoBoota of your image?\n\nIf you choose so all directories NeoBoota will be removed.\nA restore the original image settings Flash."
|
||||
|
||||
Reference in New Issue
Block a user