fix that cached debs were not returned if there was nothing to download

pull/24/head
parent df6900ec4a
commit 26af846d0a
Signed by: josch
GPG Key ID: F2CBA5C78FBD83E1

@ -2092,7 +2092,7 @@ sub run_download() {
if (any { $_ eq $options->{variant} } ('extract', 'custom')) {
if (scalar @{ $options->{include} } == 0) {
info "nothing to download -- skipping...";
return ([], []);
return ([], \@cached_debs);
}
my %pkgs_to_install;
for my $incl (@{ $options->{include} }) {

Loading…
Cancel
Save