]> git.pld-linux.org Git - projects/pld-ftp-admin.git/commitdiff
Don't check signatures and digests when looking up duplicates
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 3 Mar 2021 07:56:30 +0000 (08:56 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Wed, 3 Mar 2021 07:57:09 +0000 (08:57 +0100)
wwwbin/clean-dups.py

index b1b0e33c8fd75451a29b45ec6e17d241e127f30e..335a89e4117e8463bae26057898c4e19b553a98c 100755 (executable)
@@ -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:
This page took 0.154603 seconds and 4 git commands to generate.