diff options
author | Jan Rękorajski | 2021-03-03 07:56:30 (GMT) |
---|---|---|
committer | Jan Rękorajski | 2021-03-03 07:57:09 (GMT) |
commit | 14a0e5a0f866dd34ead4b2865de7b320c066ae4c (patch) | |
tree | 237cee159f63b919c6e481716a0df5b18ec27f96 | |
parent | 81d217de2cdce15ff340c293e800d082ce4d86d3 (diff) | |
download | pld-ftp-admin-14a0e5a0f866dd34ead4b2865de7b320c066ae4c.zip pld-ftp-admin-14a0e5a0f866dd34ead4b2865de7b320c066ae4c.tar.gz |
Don't check signatures and digests when looking up duplicates
-rwxr-xr-x | wwwbin/clean-dups.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wwwbin/clean-dups.py b/wwwbin/clean-dups.py index b1b0e33..335a89e 100755 --- a/wwwbin/clean-dups.py +++ b/wwwbin/clean-dups.py @@ -46,7 +46,7 @@ ignore = re.compile('^(kernel-.*)$') #xorg-driver-video-nvidia-legacy-304xx-.*|\ #xtables-addons-.*)$') -ts = rpm.TransactionSet("", (rpm.RPMVSF_NOHDRCHK or rpm.RPMVSF_NEEDPAYLOAD)) +ts = rpm.TransactionSet("", (rpm.RPMVSF_NOHDRCHK | rpm.RPMVSF_NEEDPAYLOAD | rpm.RPMVSF_MASK_NODIGESTS | rpm.RPMVSF_MASK_NOSIGNATURES)) def compare(f1, f2): try: |