aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Youri
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2013-01-01 11:47:25 +0000
committerThomas Backlund <tmb@mageia.org>2013-01-01 11:47:25 +0000
commit3eccc4387e375630a5f3b89b9ce9c25e0035d566 (patch)
tree97f34e0d965febeb5c29d9aa5bfb695243ca446e /lib/Youri
parented92daf48132e3cab1f4fd303fa8d08d5b720a6a (diff)
downloadmga-youri-core-3eccc4387e375630a5f3b89b9ce9c25e0035d566.tar
mga-youri-core-3eccc4387e375630a5f3b89b9ce9c25e0035d566.tar.gz
mga-youri-core-3eccc4387e375630a5f3b89b9ce9c25e0035d566.tar.bz2
mga-youri-core-3eccc4387e375630a5f3b89b9ce9c25e0035d566.tar.xz
mga-youri-core-3eccc4387e375630a5f3b89b9ce9c25e0035d566.zip
match -debuginfo packages too for debug media
Diffstat (limited to 'lib/Youri')
-rw-r--r--lib/Youri/Package/RPM.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Youri/Package/RPM.pm b/lib/Youri/Package/RPM.pm
index 1f72830..c3b8935 100644
--- a/lib/Youri/Package/RPM.pm
+++ b/lib/Youri/Package/RPM.pm
@@ -45,9 +45,9 @@ sub is_debug {
my $name = $self->get_name();
my $group = $self->get_tag('group');
- # debug packages' names must end in -debug, except kernel
+ # debug packages' names must end in -debug
if ($group =~ m,^Development/Debug$, &&
- ($name =~ /-debug$/o || $name =~ /^kernel-.*-debug/o)) {
+ ($name =~ /-debug$/o || $name =~ /-debuginfo$/o || $name =~ /^kernel-.*-debug/o)) {
return 1;
}
else {