]> Cypherpunks.ru repositories - gocheese.git/blobdiff - refresh.go
Additional signature with my new main key
[gocheese.git] / refresh.go
index 83d00825a066b96bbbf11863072d13c8a8b93493..607ef4c50281bea7d5e9fd8bd114a92a1dd056fa 100644 (file)
@@ -1,6 +1,6 @@
 /*
 GoCheese -- Python private package repository and caching proxy
-Copyright (C) 2019-2021 Sergey Matveev <stargrave@stargrave.org>
+Copyright (C) 2019-2022 Sergey Matveev <stargrave@stargrave.org>
 
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
@@ -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