summaryrefslogtreecommitdiffstats
path: root/lib/MDV/Distribconf/Utils.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/MDV/Distribconf/Utils.pm')
-rw-r--r--lib/MDV/Distribconf/Utils.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MDV/Distribconf/Utils.pm b/lib/MDV/Distribconf/Utils.pm
index 818eb77..ea0bbb5 100644
--- a/lib/MDV/Distribconf/Utils.pm
+++ b/lib/MDV/Distribconf/Utils.pm
@@ -54,7 +54,7 @@ sub hdlist_vs_dir {
}
} while (scalar(@rpms) || scalar(@hdrs));
} else {
- return;
+ return(undef, [ map { m:.*/+(.*):; $1 } @rpms ]);
}
return (\@only_pack, \@only_dir);
}