aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-03-26 11:24:50 +0000
committerThierry Vignaud <tv@mandriva.org>2007-03-26 11:24:50 +0000
commitfdfda65c8dfc55d1a55b351611c6032ce5bee87b (patch)
tree729de2cc39e926ac451f0ace056e1dae5854f869 /Rpmdrake
parente9640595a49e64dc7cbdf424d783122ebb185ac7 (diff)
downloadrpmdrake-fdfda65c8dfc55d1a55b351611c6032ce5bee87b.tar
rpmdrake-fdfda65c8dfc55d1a55b351611c6032ce5bee87b.tar.gz
rpmdrake-fdfda65c8dfc55d1a55b351611c6032ce5bee87b.tar.bz2
rpmdrake-fdfda65c8dfc55d1a55b351611c6032ce5bee87b.tar.xz
rpmdrake-fdfda65c8dfc55d1a55b351611c6032ce5bee87b.zip
(get_pkgs) do not opencode urpm::media::statedir_descriptions()
Diffstat (limited to 'Rpmdrake')
-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/