forked from josch/mmdebstrap
fix that cached debs were not returned if there was nothing to download
This commit is contained in:
parent
df6900ec4a
commit
26af846d0a
1 changed files with 1 additions and 1 deletions
|
@ -2092,7 +2092,7 @@ sub run_download() {
|
||||||
if (any { $_ eq $options->{variant} } ('extract', 'custom')) {
|
if (any { $_ eq $options->{variant} } ('extract', 'custom')) {
|
||||||
if (scalar @{ $options->{include} } == 0) {
|
if (scalar @{ $options->{include} } == 0) {
|
||||||
info "nothing to download -- skipping...";
|
info "nothing to download -- skipping...";
|
||||||
return ([], []);
|
return ([], \@cached_debs);
|
||||||
}
|
}
|
||||||
my %pkgs_to_install;
|
my %pkgs_to_install;
|
||||||
for my $incl (@{ $options->{include} }) {
|
for my $incl (@{ $options->{include} }) {
|
||||||
|
|
Loading…
Reference in a new issue