print /etc/apt/sources.list if apt-get update didn't download anything

pull/1/head
parent bb2aa6e9fd
commit 1f13d0157b
Signed by: josch
GPG Key ID: F2CBA5C78FBD83E1

@ -718,6 +718,8 @@ sub setup {
chomp (my $indextargets = do { local $/; <$fh> });
close $fh;
if ($indextargets eq '') {
print STDERR "content of /etc/apt/sources.list:\n";
copy("$options->{root}/etc/apt/sources.list", *STDERR);
die "apt-get update didn't download anything";
}
}

Loading…
Cancel
Save