From a2831e0348c05437142ee87205a2c31b6a6fb1bd Mon Sep 17 00:00:00 2001 From: Olivier Thauvin Date: Mon, 21 Feb 2005 00:06:26 +0000 Subject: - s/getpath/getvalue/ --- gendistrib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gendistrib') diff --git a/gendistrib b/gendistrib index c0e8afa..c5d6834 100755 --- a/gendistrib +++ b/gendistrib @@ -100,7 +100,7 @@ while (my ($k, $v) = each(%default_urpmfiles)) { my @hdlists; foreach ($distrib->listmedia) { - $distrib->getpath($_, 'askmedia') || $distrib->getpath($_, 'suppl') and next; + $distrib->getvalue($_, 'askmedia') || $distrib->getvalue($_, 'suppl') and next; push @hdlists, { synthesis => $distrib->getpath(undef, 'root') . '/' . $distrib->getpath($_, 'synthesis'), hdlist => $distrib->getpath(undef, 'root') . '/' . $distrib->getpath($_, 'hdlist'), -- cgit v1.2.1