Commit 7d049ab1 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩

Fixed removal of submodules/oRTP directory

parent df07f113
......@@ -154,8 +154,11 @@ class DesktopPreparator(prepare.Preparator):
ret |= not self.check_python_module_is_present('six')
if "python" in self.args.target or "python-raspberry" in self.args.target:
ret |= not self.check_python_module_is_present('wheel')
if os.path.isdir('submodules/oRTP'):
os.rmdir('submodules/oRTP')
import shutil
shutil.rmtree('submodules/oRTP')
return ret
def show_missing_dependencies(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment