forked from josch/mmdebstrap
print /etc/apt/sources.list if apt-get update didn't download anything
This commit is contained in:
parent
bb2aa6e9fd
commit
1f13d0157b
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue