amprolla

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

commit d4d4fd651230b146c9cfd2bd0f2cf1e31e97deaf
parent c73141415de27ba59e5035366f9cfe42c20d7bac
Author: parazyd <parazyd@dyne.org>
Date:   Mon,  4 Dec 2017 17:36:08 +0100

Fix bug where pool would get replaced where it should not be

Reported by: Daniel Abrecht

https://lists.dyne.org/lurker/message/20171204.155159.5b3b95fb.en.html

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

diff --git a/amprolla_merge.py b/amprolla_merge.py @@ -60,10 +60,10 @@ def devuan_rewrite(pkg, repo_name): if 'Filename' in pkg and repos[repo_name]['name'] not in pkg['Filename']: pkg['Filename'] = pkg['Filename'].replace('pool/', 'pool/%s/' % - repos[repo_name]['name']) + repos[repo_name]['name'], 1) if 'Directory' in pkg and repos[repo_name]['name'] not in pkg['Directory']: pkg['Directory'] = pkg['Directory'].replace('pool/', 'pool/%s/' % - repos[repo_name]['name']) + repos[repo_name]['name'], 1) return pkg