amprolla

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

commit 0b16e6b79ff7319b967c445bc459a84d4757df3a
parent 970da152fe6a9f532b198fdcf3232f1a7ca755de
Author: parazyd <parazyd@dyne.org>
Date:   Thu,  6 Jul 2017 17:42:42 +0200

temporary hardcode a rewrite for proper Release headers

Diffstat:
Mlib/release.py | 12++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/lib/release.py b/lib/release.py @@ -40,10 +40,14 @@ def write_release(oldrel, newrel, filelist, r, sign=True): # rewrite Suite to allow for being on stable/testing rather than # jessie/ascii/... - # if rel_cont['Suite'] in release_aliases: - # rel_cont['Label'] = distrolabel - # rel_cont['Codename'] = rel_cont['Suite'] - # rel_cont['Suite'] = release_aliases[rel_cont['Suite']] + if rel_cont['Suite'] in release_aliases: + if rel_cont['Suite'] == 'ascii': + rel_cont['Version'] = '2.0' + elif rel_cont['Suite'] == 'jessie': + rel_cont['Version'] = '1.0' + rel_cont['Label'] = distrolabel + rel_cont['Codename'] = rel_cont['Suite'] + rel_cont['Suite'] = release_aliases[rel_cont['Suite']] for k in release_keys: if k in rel_cont: