summaryrefslogtreecommitdiffstats
path: root/lib/MDV/Distribconf/Utils.pm
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mandriva.org>2007-11-11 18:33:28 +0000
committerOlivier Thauvin <nanardon@mandriva.org>2007-11-11 18:33:28 +0000
commit574b9985018f6a165fe80c9c5f82f7534260384e (patch)
treed9df8960ddcae32df03c7e159fad7e4a526f20a1 /lib/MDV/Distribconf/Utils.pm
parent20ee54a418e756f87937983d8f19a3d7125f1c1c (diff)
downloadperl-MDV-Distribconf-574b9985018f6a165fe80c9c5f82f7534260384e.tar
perl-MDV-Distribconf-574b9985018f6a165fe80c9c5f82f7534260384e.tar.gz
perl-MDV-Distribconf-574b9985018f6a165fe80c9c5f82f7534260384e.tar.bz2
perl-MDV-Distribconf-574b9985018f6a165fe80c9c5f82f7534260384e.tar.xz
perl-MDV-Distribconf-574b9985018f6a165fe80c9c5f82f7534260384e.zip
- fix bad hdlist format detection when comparing index to media content
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);
}