udhos / update-golang

update-golang is a script to easily fetch and install new Golang releases with minimum system intrusion
MIT License
1.86k stars 227 forks source link

archive is not removed after installation #25

Closed adntgv closed 3 years ago

adntgv commented 3 years ago

I have noticed that downloaded archive is not deleted after successful golang upgrade. Archive is stored as /usr/local/go1.15.5.linux-amd64.tar.gz, had to manually remove it. I imagine that archives would pile up clogging the directory

udhos commented 3 years ago

Yes, the downloaded file is kept as cache:

"Downloaded releases are kept as cache under '/usr/local'. You can erase them manually." https://github.com/udhos/update-golang#how-it-works