aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mandriva.org>2005-02-21 00:03:04 +0000
committerOlivier Thauvin <nanardon@mandriva.org>2005-02-21 00:03:04 +0000
commitbdc30c524177667bad42634c041a0e73fee5b87e (patch)
tree874941c253a6a40b7db2bb77b10f7917c1795a51
parenta1fecc973822142715c7bfc0e3735ebdcd029402 (diff)
downloadrpmtools-bdc30c524177667bad42634c041a0e73fee5b87e.tar
rpmtools-bdc30c524177667bad42634c041a0e73fee5b87e.tar.gz
rpmtools-bdc30c524177667bad42634c041a0e73fee5b87e.tar.bz2
rpmtools-bdc30c524177667bad42634c041a0e73fee5b87e.tar.xz
rpmtools-bdc30c524177667bad42634c041a0e73fee5b87e.zip
- skip media genration if suppl or askmedia
-rwxr-xr-xgendistrib1
1 files changed, 1 insertions, 0 deletions
diff --git a/gendistrib b/gendistrib
index 6af7dd6..c0e8afa 100755
--- a/gendistrib
+++ b/gendistrib
@@ -100,6 +100,7 @@ while (my ($k, $v) = each(%default_urpmfiles)) {
my @hdlists;
foreach ($distrib->listmedia) {
+ $distrib->getpath($_, 'askmedia') || $distrib->getpath($_, 'suppl') and next;
push @hdlists, {
synthesis => $distrib->getpath(undef, 'root') . '/' . $distrib->getpath($_, 'synthesis'),
hdlist => $distrib->getpath(undef, 'root') . '/' . $distrib->getpath($_, 'hdlist'),