<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 5, 2018 at 8:49 AM, Moritz Lennert <span dir="ltr"><<a href="mailto:mlennert@club.worldonline.be" target="_blank">mlennert@club.worldonline.be</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
<br>
Am 5. Juni 2018 14:38:49 MESZ schrieb Roberta Fagandini <<a href="mailto:robifagandini@gmail.com">robifagandini@gmail.com</a>>:<br>
>Hi all!<br>
>I'm trying to install my module i.sentinel.mask from the GitHub<br>
>repository<br>
>[0] using g.extension but I get the following error:<br>
><br>
>g.extension extension=i.sentinel.mask operation=add url=<br>
><a href="https://github.com/RobiFag/GRASS_clouds_and_shadows" rel="noreferrer" target="_blank">https://github.com/RobiFag/<wbr>GRASS_clouds_and_shadows</a><br>
<br>
</span>I think you have to point it to the directory of your add-on, i.e. <br>
<br>
<a href="https://github.com/RobiFag/GRASS_clouds_and_shadows/i.sentinel.mask" rel="noreferrer" target="_blank">https://github.com/RobiFag/<wbr>GRASS_clouds_and_shadows/i.<wbr>sentinel.mask</a><br>
<br>
But am in a train and can't test right now.<br></blockquote><div><br></div><div><br></div><div>Unfortunately, g.extension GitHub/GitLab/... repository downloads currently support only module (Makefile to be exact) at the top level. You need to download the repo (e.g. a snapshot in the ZIP file) and point g.extension to the right (sub)directory (with Makefile) or just add couple of functions to g.extension to find that directory.</div><div><br></div><div>Vaclav<br></div></div></div></div>