add FIXME option to also support Debian derivatives
This commit is contained in:
parent
fa836c01f7
commit
e0ea1e6d65
1 changed files with 2 additions and 0 deletions
|
@ -1759,6 +1759,8 @@ sub main() {
|
||||||
} elsif ($stdindata ne '') {
|
} elsif ($stdindata ne '') {
|
||||||
$sourceslist .= $stdindata;
|
$sourceslist .= $stdindata;
|
||||||
} else {
|
} else {
|
||||||
|
# FIXME: change default mirror depending on $suite
|
||||||
|
# (for derivatives)
|
||||||
$sourceslist .= "deb http://deb.debian.org/debian $suite $options->{components}\n";
|
$sourceslist .= "deb http://deb.debian.org/debian $suite $options->{components}\n";
|
||||||
if (any { $_ eq $suite } ('stable', 'oldstable', 'stretch') ) {
|
if (any { $_ eq $suite } ('stable', 'oldstable', 'stretch') ) {
|
||||||
$sourceslist .= "deb http://deb.debian.org/debian $suite-updates $options->{components}\n";
|
$sourceslist .= "deb http://deb.debian.org/debian $suite-updates $options->{components}\n";
|
||||||
|
|
Loading…
Reference in a new issue