aboutsummaryrefslogtreecommitdiffstats
path: root/gendistrib
diff options
context:
space:
mode:
Diffstat (limited to 'gendistrib')
-rwxr-xr-xgendistrib2
1 files changed, 1 insertions, 1 deletions
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'),