Fix support for apt-transport-mirror URLs #8
1 changed files with 1 additions and 1 deletions
|
@ -2865,7 +2865,7 @@ sub run_install() {
|
||||||
'--format', '$(URI)', 'Created-By: Packages')
|
'--format', '$(URI)', 'Created-By: Packages')
|
||||||
or error "cannot start apt-get indextargets: $!";
|
or error "cannot start apt-get indextargets: $!";
|
||||||
while (my $uri = <$pipe_apt>) {
|
while (my $uri = <$pipe_apt>) {
|
||||||
if ($uri =~ /^https:\/\//) {
|
if ($uri =~ /^(mirror\+)?https:\/\//) {
|
||||||
info "https mirror found -- adding apt-transport-https "
|
info "https mirror found -- adding apt-transport-https "
|
||||||
. "and ca-certificates";
|
. "and ca-certificates";
|
||||||
# FIXME: support for https is part of apt >= 1.5
|
# FIXME: support for https is part of apt >= 1.5
|
||||||
|
|
Loading…
Reference in a new issue