diff --git a/ansible/sbin/make_changelog b/ansible/sbin/make_changelog index 4346652..b6de49e 100755 --- a/ansible/sbin/make_changelog +++ b/ansible/sbin/make_changelog @@ -38,12 +38,13 @@ def read_dnf_pkg_file(os_name, filename1, filename2): sp_line = pkg_line.strip().split() if len(sp_line) < idx_version[fidx] + 1: continue - if sp_line[idx_pkg[fidx]] in pkgs: - raise Exception(f'package already set {sp_line[0]}?') + pkg = sp_line[idx_pkg[fidx]] version = sp_line[idx_version[fidx]] + #if pkg in pkgs: + # raise Exception(f'package already set {pkg}?') if os_name == 'debian' and version.startswith('('): version = version[1:] - pkgs[sp_line[idx_pkg[fidx]]] = version + pkgs[pkg] = version return pkgs