X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=refresh.go;h=607ef4c50281bea7d5e9fd8bd114a92a1dd056fa;hb=10711e8819e19eae53fdd0f4252acfeb8619ef09;hp=83d00825a066b96bbbf11863072d13c8a8b93493;hpb=8d410a547fec59ede811f71157b1b11d14a7b6c6;p=gocheese.git diff --git a/refresh.go b/refresh.go index 83d0082..607ef4c 100644 --- a/refresh.go +++ b/refresh.go @@ -1,6 +1,6 @@ /* GoCheese -- Python private package repository and caching proxy -Copyright (C) 2019-2021 Sergey Matveev +Copyright (C) 2019-2022 Sergey Matveev 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