summaryrefslogtreecommitdiffstats
path: root/perl-install/pkgs.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/pkgs.pm')
-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 264818fae..a97b2ed3e 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -553,7 +553,7 @@ sub read_rpmsrate {
}
if ($p->rate) {
my @m4 = $p->rflags;
- if (@m3 > 1 || @m4 > 1) {
+ if ((@m3 > 1 || @m4 > 1) && "@m3[1..$#m3]" ne "@m4[1..$#m4]") {
log::l("can't handle complicate flags for packages appearing twice ($_)");
$fatal_error++;
}