From: Jan Rękorajski Date: Wed, 3 Mar 2021 07:56:30 +0000 (+0100) Subject: Don't check signatures and digests when looking up duplicates X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=14a0e5a0f866dd34ead4b2865de7b320c066ae4c;p=projects%2Fpld-ftp-admin.git Don't check signatures and digests when looking up duplicates --- 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: