summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Rękorajski2021-03-03 07:56:30 (GMT)
committerJan Rękorajski2021-03-03 07:57:09 (GMT)
commit14a0e5a0f866dd34ead4b2865de7b320c066ae4c (patch)
tree237cee159f63b919c6e481716a0df5b18ec27f96
parent81d217de2cdce15ff340c293e800d082ce4d86d3 (diff)
downloadpld-ftp-admin-14a0e5a0f866dd34ead4b2865de7b320c066ae4c.zip
pld-ftp-admin-14a0e5a0f866dd34ead4b2865de7b320c066ae4c.tar.gz
Don't check signatures and digests when looking up duplicates
-rwxr-xr-xwwwbin/clean-dups.py2
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: