Install apt-transport-https and ca-certificates when using mirror+https urls

pull/8/head
Nicolas Vigier 3 years ago
parent 594ea3c72e
commit 6f7b8803bb
No known key found for this signature in database
GPG Key ID: 1DDE30B764471014

@ -2865,7 +2865,7 @@ sub run_install() {
'--format', '$(URI)', 'Created-By: Packages')
or error "cannot start apt-get indextargets: $!";
while (my $uri = <$pipe_apt>) {
if ($uri =~ /^https:\/\//) {
if ($uri =~ /^(mirror\+)?https:\/\//) {
info "https mirror found -- adding apt-transport-https "
. "and ca-certificates";
# FIXME: support for https is part of apt >= 1.5

Loading…
Cancel
Save