aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/pkg.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Rpmdrake/pkg.pm')
-rwxr-xr-xRpmdrake/pkg.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index ddb774a9..25d5a14c 100755
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -253,7 +253,7 @@ sub get_pkgs {
my ($cur, $section);
#- parse the description file
foreach my $medium (@update_medias) {
- foreach (cat_("$statedir/descriptions.$medium->{name}")) {
+ foreach (cat_(urpm::media::statedir_descriptions($urpm, $medium))) {
/^%package +(.+)/ and do {
my @pkg_list = split /\s+/, $1;
exists $cur->{importance} && $cur->{importance} !~ /^(?:security|bugfix)\z/