From d40dcffe911981b377c4413c06e39a33426a7893 Mon Sep 17 00:00:00 2001 From: gutosie Date: Fri, 10 Jan 2020 13:50:40 +0200 Subject: [PATCH] fix mount hyperion --- NeoBoot/plugin.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/NeoBoot/plugin.py b/NeoBoot/plugin.py index bed531f..6953e41 100644 --- a/NeoBoot/plugin.py +++ b/NeoBoot/plugin.py @@ -371,6 +371,11 @@ class NeoBootInstallation(Screen): system(cmd) print '[MULTI-BOOT]: ', cmd self.session.open(Console, _(' NeoBot - Available media:'), [message, cmd]) + if fileExists('/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/files/neom'): + if not fileExists('%sImageBoot/.version' % getNeoLocation()): + os.system('mkdir -p %s; sync; chmod 0755 /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/files/neom; /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/files/neom' % getNeoLocation()) + else: + pass except: pass