Transition to https://termux.net for bootstrap

The initial bootstrap zip was previously downloaded from
http://apt.termux.com, which lacked security and was not behind a CDN.

By moving to https://termux.net we improve security (as it's https)
and reliability (as it's using a CDN).

Fixes https://github.com/termux/termux-packages/issues/89.
This commit is contained in:
Fredrik Fornwall 2015-12-27 08:15:08 +01:00
parent e006e36dd0
commit 468185efb3
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ final class TermuxInstaller {
} else if (arch.equals("x86_64")) {
arch = "i686";
}
return new URL("http://apt.termux.com/bootstrap/bootstrap-" + arch + ".zip");
return new URL("https://termux.net/bootstrap/bootstrap-" + arch + ".zip");
}
/** Delete a folder and all its content or throw. */