Update tools.py

This commit is contained in:
gutosie
2025-11-28 14:52:22 +02:00
committed by GitHub
parent 7c34992721
commit d229d03edf

View File

@@ -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."