From 255b5e63159bdfe743332e216e08dc0e31dcf82b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Sun, 11 Nov 2012 10:23:55 +0000 Subject: [PATCH] - poldek_indexes = old dropped, only pndir generated now Changed files: bin/pfa-genindex -> 1.35 modules/config.py -> 1.18 --- bin/pfa-genindex | 11 +++-------- modules/config.py | 5 ----- 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/bin/pfa-genindex b/bin/pfa-genindex index f297ce3..d976f82 100644 --- a/bin/pfa-genindex +++ b/bin/pfa-genindex @@ -93,14 +93,9 @@ if do_poldek: print '\n-------------------------- %s --------------------------' % tree for arch in all_ftp_archs: print '\ngenerate poldek index for %s' % arch - if config.poldek_indexes != "old": - os.system('%s -s %s%s/%s/RPMS/ --mkidxz --mkidx-type pndir' % (poldek, ftp_dir, tree, arch)) - if arch != 'noarch' and config.separate_debuginfo: - os.system('%s -s %s%s/%s/debuginfo/ --mkidxz --mkidx-type pndir' % (poldek, ftp_dir, tree, arch)) - if config.poldek_indexes != "new": - os.system('%s -s %s%s/%s/RPMS/ --mkidxz --mkidx-type pdir' % (poldek, ftp_dir, tree, arch)) - if arch != 'noarch' and config.separate_debuginfo: - os.system('%s -s %s%s/%s/debuginfo/ --mkidxz --mkidx-type pdir' % (poldek, ftp_dir, tree, arch)) + os.system('%s -s %s%s/%s/RPMS/ --mkidxz --mkidx-type pndir' % (poldek, ftp_dir, tree, arch)) + if arch != 'noarch' and config.separate_debuginfo: + os.system('%s -s %s%s/%s/debuginfo/ --mkidxz --mkidx-type pndir' % (poldek, ftp_dir, tree, arch)) if do_yum: os.system('%s cd %s.stat/repodata && cvs %s up comps.xml' % ("" if quiet else "set -x;", ftp_dir, "" if quiet else "-Q")) diff --git a/modules/config.py b/modules/config.py index bb43f4e..ee32dfa 100644 --- a/modules/config.py +++ b/modules/config.py @@ -55,11 +55,6 @@ if 'old_poldek' in value and value['old_poldek'] == 'yes': else: old_poldek = False -if 'poldek_indexes' in value: - poldek_indexes = value['poldek_indexes'] -else: - poldek_indexes = 'old' - if value['separate_noarch'] == 'yes': separate_noarch = True else: -- 2.44.0