From aeb15ced2bb5a9d4ede6b3fdd6c451476ae4c189 Mon Sep 17 00:00:00 2001 From: Olivier Thauvin Date: Tue, 22 Aug 2006 01:29:48 +0000 Subject: - discret change in the order of index generation, this would avoid link breakage when a distrib use index that can generated by another (srpms, noarch or biarch...) --- gendistrib | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gendistrib b/gendistrib index 92e66c9..e1ee892 100755 --- a/gendistrib +++ b/gendistrib @@ -142,10 +142,10 @@ foreach ($distrib->listmedia) { push @hdlists, { media => $_, - synthesis => $destdir ? + synthesis2 => $destdir ? $destdir . '/' . $distrib->getpath($_, 'synthesis') : $distrib->getfullpath($_, 'synthesis'), - hdlist => $destdir ? + hdlist2 => $destdir ? $destdir . '/' .$distrib->getpath($_, 'hdlist') : $distrib->getfullpath($_, 'hdlist'), dir => $distrib->getpath($_, 'path'), @@ -156,16 +156,16 @@ foreach ($distrib->listmedia) { thismediainfo => ($destdir ? $destdir . '/' . $distrib->getpath($_, 'path') : $distrib->getfullpath($_, 'path')) . "/media_info", - synthesis2 => ($destdir ? + synthesis => ($destdir ? $destdir . '/' . $distrib->getpath($_, 'path') : $distrib->getfullpath($_, 'path')) . "/media_info/synthesis.hdlist.cz", - hdlist2 => ($destdir ? + hdlist => ($destdir ? $destdir . '/' . $distrib->getpath($_, 'path') : $distrib->getfullpath($_, 'path')) . "/media_info/hdlist.cz", md5sum => ($destdir ? $destdir . '/' . $distrib->getpath($_, 'path') : $distrib->getfullpath($_, 'path')) . "/media_info/MD5SUM", - noneedrebuild => $blind ? 0 : $distrib->check_index_sync($_), + noneedrebuild => $blind ? 0 : $distrib->check_index_sync($_, 'formedia'), noneedredomd5 => $distrib->check_media_md5($_), }; } -- cgit v1.2.1