fix mirror URIs for ubuntu

This commit is contained in:
Johannes 'josch' Schauer 2019-10-05 07:49:15 +02:00
parent 7a4cefaee2
commit ad6883992a
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -2108,7 +2108,7 @@ sub main() {
if (any {$_ eq $suite} @ubuntustable) {
if (any {$_ eq $options->{nativearch}} ('amd64', 'i386')) {
$mirror = 'http://archive.ubuntu.com/ubuntu';
$secmirror = 'http://archive.ubuntu.com/ubuntu';
$secmirror = 'http://security.ubuntu.com/ubuntu';
} else {
$mirror = 'http://ports.ubuntu.com/ubuntu-ports';
$secmirror = 'http://ports.ubuntu.com/ubuntu-ports';
@ -2121,7 +2121,7 @@ sub main() {
$sourceslist .= "deb $mirror $suite $options->{components}\n";
if (any {$_ eq $suite} @ubuntustable) {
$sourceslist .= "deb $mirror $suite-updates $options->{components}\n";
$sourceslist .= "deb $secmirror $suite-updates $options->{components}\n";
$sourceslist .= "deb $secmirror $suite-security $options->{components}\n";
} elsif (any {$_ eq $suite} @tanglustable) {
$sourceslist .= "deb $secmirror $suite-updates $options->{components}\n";
} elsif (any {$_ eq $suite} @debstable) {