Hello, the script does that, i created in base of go.dev recommendation, it 
will not remove the folder, but delete all the content.

El martes, 11 de abril de 2023 a la(s) 10:31:45 UTC-4, Brian Candler 
escribió:

> Something to consider: if you untar over an existing installation, then 
> it's possible you will be left with stale artefacts - e.g. source files 
> that were in an old version that aren't in the new one. I've been bitten by 
> this in other projects.
>
> I haven't been bitten by this in Go, but I always mv or rm the old 
> /usr/local/go our of the way before untarring a fresh one to avoid the 
> possibility.
>
> On Tuesday, 11 April 2023 at 15:00:13 UTC+1 Walddys Emmanuel Dorrejo 
> Céspedes wrote:
>
>> hello, i did this Bash Script (only Linux/WSL) to update GoLang, it will 
>> give you some options, like update to the next patch (1.20.x) or the next 
>> minor version (1.21) only stable ones (not beta neither rc), if someone 
>> found useful, here is the link: 
>> https://gitlab.com/wedc-scripts/go_updater.
>>
>> it respect the user environment, if Golang home is in other location, it 
>> will respect that, it will work in base of go env.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/51381f7c-e71a-4c7c-bc8b-7244c71a084en%40googlegroups.com.

Reply via email to