summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/pkgs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index bd2ad52b4..f91365ddc 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -488,7 +488,7 @@ sub psUsingHdlist {
#- update maximal index.
$m->{max} = $packages->{count} - 1;
- $m->{max} >= $m->{min} or die "nothing found while parsing $newf";
+ $m->{max} >= $m->{min} || $relocated > 0 || $ignored > 0 or die "nothing found while parsing $newf";
$relocated > 0 and log::l("relocated $relocated headers in $hdlist");
$ignored > 0 and log::l("ignored $ignored headers in $hdlist");
log::l("read " . ($m->{max} - $m->{min} + 1) . " new headers in $hdlist");