]> Cypherpunks.ru repositories - gocheese.git/commitdiff
Download all .asc
authorSergey Matveev <stargrave@stargrave.org>
Fri, 26 Nov 2021 08:24:10 +0000 (11:24 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Fri, 26 Nov 2021 08:24:10 +0000 (11:24 +0300)
main.go
refresh.go

diff --git a/main.go b/main.go
index 46c76b307c9a9baf2c945a06ccf6a77a4e396b87..01cc50e31c51717cc0896a1333907df491f4e4ee 100644 (file)
--- a/main.go
+++ b/main.go
@@ -44,7 +44,7 @@ import (
 )
 
 const (
-       Version   = "3.3.0"
+       Version   = "3.4.0"
        UserAgent = "GoCheese/" + Version
 )
 
index 83d00825a066b96bbbf11863072d13c8a8b93493..48b2a744f66340aa99d81f9ded75b2a82811ed33 100644 (file)
@@ -523,9 +523,6 @@ func refreshDir(
                }
 
                if filename == filenameGet || gpgUpdate {
-                       if _, err = os.Stat(path); err != nil {
-                               goto GPGSigSkip
-                       }
                        resp, err := c.Do(agentedReq(uri + GPGSigExt))
                        if err != nil {
                                goto GPGSigSkip