From 405cf149473db403b36ca9721ff38bc6ce76a7b1 Mon Sep 17 00:00:00 2001 From: gutosie Date: Wed, 15 Dec 2021 13:17:32 +0200 Subject: [PATCH] Update tools.py --- NeoBoot/files/tools.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/NeoBoot/files/tools.py b/NeoBoot/files/tools.py index 189ea3f..3a1238a 100644 --- a/NeoBoot/files/tools.py +++ b/NeoBoot/files/tools.py @@ -961,6 +961,9 @@ class MyUpgrade2(Screen): target = dirfile + '' + LinkNeoBoot + '' target1 = dirfile + '/usr/lib/' target2 = dirfile + '/usr/lib/enigma2/python/Tools/' + os.system('chattr -i /usr/lib/periodon/.activatedmac; chattr -i ' + LinkNeoBoot +'/plugin.py; chattr -i ' + target + '/usr/lib/periodon/.activatedmac; chattr -i ' + target + '' + LinkNeoBoot +'/plugin.py') + if fileExists('' + LinkNeoBoot +'/plugin.pyo'): + cmd3 = 'chattr -i ' + target + '' + LinkNeoBoot +'/plugin.pyo' cmd = 'rm -r ' + target + ' > /dev/null 2>&1' system(cmd) cmd = 'cp -r ' + LinkNeoBoot + ' ' + target