forked from josch/mmdebstrap
fix mirror URIs for ubuntu
This commit is contained in:
parent
7a4cefaee2
commit
ad6883992a
1 changed files with 2 additions and 2 deletions
|
@ -2108,7 +2108,7 @@ sub main() {
|
||||||
if (any {$_ eq $suite} @ubuntustable) {
|
if (any {$_ eq $suite} @ubuntustable) {
|
||||||
if (any {$_ eq $options->{nativearch}} ('amd64', 'i386')) {
|
if (any {$_ eq $options->{nativearch}} ('amd64', 'i386')) {
|
||||||
$mirror = 'http://archive.ubuntu.com/ubuntu';
|
$mirror = 'http://archive.ubuntu.com/ubuntu';
|
||||||
$secmirror = 'http://archive.ubuntu.com/ubuntu';
|
$secmirror = 'http://security.ubuntu.com/ubuntu';
|
||||||
} else {
|
} else {
|
||||||
$mirror = 'http://ports.ubuntu.com/ubuntu-ports';
|
$mirror = 'http://ports.ubuntu.com/ubuntu-ports';
|
||||||
$secmirror = '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";
|
$sourceslist .= "deb $mirror $suite $options->{components}\n";
|
||||||
if (any {$_ eq $suite} @ubuntustable) {
|
if (any {$_ eq $suite} @ubuntustable) {
|
||||||
$sourceslist .= "deb $mirror $suite-updates $options->{components}\n";
|
$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) {
|
} elsif (any {$_ eq $suite} @tanglustable) {
|
||||||
$sourceslist .= "deb $secmirror $suite-updates $options->{components}\n";
|
$sourceslist .= "deb $secmirror $suite-updates $options->{components}\n";
|
||||||
} elsif (any {$_ eq $suite} @debstable) {
|
} elsif (any {$_ eq $suite} @debstable) {
|
||||||
|
|
Loading…
Reference in a new issue