add FIXME option to also support Debian derivatives

This commit is contained in:
Johannes 'josch' Schauer 2019-01-08 11:26:24 +01:00
parent fa836c01f7
commit e0ea1e6d65
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -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";