amprolla

devuan's apt repo merger
git clone git://parazyd.org/amprolla.git
Log | Files | Refs | README | LICENSE

commit 929ad53476ff4eb19260ae0d34a21b224e7ec0e4
parent df93b42b9e0e17c332adc5684de4d0e072858f1a
Author: parazyd <parazyd@dyne.org>
Date:   Thu, 13 Jul 2017 11:37:50 +0200

merge Contents-source.gz properly

Diffstat:
Mamprolla_merge_contents.py | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/amprolla_merge_contents.py b/amprolla_merge_contents.py @@ -84,7 +84,10 @@ def main(): cont = [] for i in arches: for j in categories: - cont.append(join(j, i.replace('binary', 'Contents')+'.gz')) + if i != 'source': + cont.append(join(j, i.replace('binary', 'Contents')+'.gz')) + else: + cont.append(join(j, 'Contents-'+i+'.gz')) mrgpool = Pool(cpunm) mrgpool.map(main_merge, cont) @@ -96,4 +99,3 @@ if __name__ == '__main__': main() t2 = time() print('total time: %s' % (t2 - t1)) -