aboutsummaryrefslogtreecommitdiffstats
path: root/gendistrib
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mandriva.org>2005-02-21 00:06:26 +0000
committerOlivier Thauvin <nanardon@mandriva.org>2005-02-21 00:06:26 +0000
commita2831e0348c05437142ee87205a2c31b6a6fb1bd (patch)
tree408cece1eca62c601c318fb88630b4ac6aa62588 /gendistrib
parent55edaa06e1bfa50ce6d4af022496c07f241e5ce9 (diff)
downloadrpmtools-a2831e0348c05437142ee87205a2c31b6a6fb1bd.tar
rpmtools-a2831e0348c05437142ee87205a2c31b6a6fb1bd.tar.gz
rpmtools-a2831e0348c05437142ee87205a2c31b6a6fb1bd.tar.bz2
rpmtools-a2831e0348c05437142ee87205a2c31b6a6fb1bd.tar.xz
rpmtools-a2831e0348c05437142ee87205a2c31b6a6fb1bd.zip
- s/getpath/getvalue/
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'),