<div dir="ltr">I tried to install the google-android-sdk-docs-installer package earlier today, and it already has kind of a mirror infrastructure, where it tries to download it from multiple mirrors, whichever works first.<br><br><a href="https://anonscm.debian.org/cgit/android-tools/google-android-sdk-docs-installer.git/tree/for-postinst/Makefile#n2" target="_blank">https://anonscm.debian.org/cgit/android-tools/google-android-sdk-docs-installer.git/tree/for-postinst/Makefile#n2</a><br><br>Your approach looks nice too, could convert the above to that as well, and perhaps add the third mirror as well.<br><div class="gmail_quote"><div dir="ltr">On Sun, Jul 3, 2016 at 12:14 AM Mouaad Aallam <<a href="mailto:mouaad@aallam.com" target="_blank">mouaad@aallam.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>TODO Next:</div></div></blockquote></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>* Look for the mirrors feature</div></div></blockquote></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"></div></blockquote><div><br></div><div>Hello,</div><div><br></div><div>I added the feature of mirrors to the google-android-ndk-package-installer, please check them here[1].</div><div>if this is good, i will add the same feature to the other android-android-*-installer packages.</div><div><br></div><div>[1]: <a href="https://anonscm.debian.org/cgit/android-tools/google-android-ndk-installer.git/commit/?id=3d71fefecf624a30238160654c5075b2a76b99c9" target="_blank">https://anonscm.debian.org/cgit/android-tools/google-android-ndk-installer.git/commit/?id=3d71fefecf624a30238160654c5075b2a76b99c9</a></div><div> </div><div><i>Cheers,</i></div><div><i>Mouaad Aallam</i></div></div></div></div>
_______________________________________________<br>
Android-tools-devel mailing list<br>
<a href="mailto:Android-tools-devel@lists.alioth.debian.org" target="_blank">Android-tools-devel@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/android-tools-devel" rel="noreferrer" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/android-tools-devel</a></blockquote></div></div>