From 9c8eb7818be5f923f1bd42c8543c1491c880fead Mon Sep 17 00:00:00 2001 From: gutosie Date: Wed, 17 Feb 2021 09:10:19 +0200 Subject: [PATCH] Add files via upload --- NeoBoot/files/tools.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/NeoBoot/files/tools.py b/NeoBoot/files/tools.py index db82143..39a8309 100644 --- a/NeoBoot/files/tools.py +++ b/NeoBoot/files/tools.py @@ -1827,7 +1827,8 @@ class Opis(Screen): ybox.setTitle(_('Install.')) def neogithub(self, answer): - if answer is True: + if answer is True: + system('rm -rf ' + LinkNeoBoot + '/.location') if fileExists('/usr/bin/fullwget'): cmd1 = 'cd /tmp; rm ./*.sh; fullwget --no-check-certificate https://raw.githubusercontent.com/gutosie/neoboot/master/iNB.sh;chmod 755 ./iNB.sh;sh ./iNB.sh; rm ./iNB.sh; cd /' self.session.open(Console, _('NeoBoot....'), [cmd1])