[projects/pld-ftp-admin] Don't check signatures and digests when looking up duplicates

baggins baggins at pld-linux.org
Wed Mar 3 08:57:16 CET 2021


commit 14a0e5a0f866dd34ead4b2865de7b320c066ae4c
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Wed Mar 3 08:56:30 2021 +0100

    Don't check signatures and digests when looking up duplicates

 wwwbin/clean-dups.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
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:
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/pld-ftp-admin.git/commitdiff/14a0e5a0f866dd34ead4b2865de7b320c066ae4c



More information about the pld-cvs-commit mailing list