add FIXME option to also support Debian derivatives

pull/1/head
parent fa836c01f7
commit e0ea1e6d65
Signed by: josch
GPG Key ID: F2CBA5C78FBD83E1

@ -1759,6 +1759,8 @@ sub main() {
} elsif ($stdindata ne '') {
$sourceslist .= $stdindata;
} else {
# FIXME: change default mirror depending on $suite
# (for derivatives)
$sourceslist .= "deb http://deb.debian.org/debian $suite $options->{components}\n";
if (any { $_ eq $suite } ('stable', 'oldstable', 'stretch') ) {
$sourceslist .= "deb http://deb.debian.org/debian $suite-updates $options->{components}\n";

Loading…
Cancel
Save