rename lowercase dir in proxy download

This commit is contained in:
Shawn Smith
2021-11-21 20:15:43 +09:00
parent 9af34671bd
commit 34fb4c89a4

View File

@@ -85,7 +85,7 @@ func ProxyDownload(path string) (string, error) {
return "", err
}
err = os.Rename(filepath.Join(reposDir, path+"@"+mv.Version), filepath.Join(reposDir, path))
err = os.Rename(strings.ToLower(filepath.Join(reposDir, path+"@"+mv.Version)), filepath.Join(reposDir, path))
if err != nil {
return "", err
}