update-golang icon indicating copy to clipboard operation
update-golang copied to clipboard

update-golang is a script to easily fetch and install new Golang releases with minimum system intrusion

Results 7 update-golang issues
Sort by recently updated
recently updated
newest added

Hello, Today I realized that my CI starts to fails when it tries to un-tar the .tar.gz file. (e.g. go1.19.linux-amd64.tar.gz) (which means I'm using your work pretty much every day....

update link to download golang executable

hello, you can switch from bash to sh and adjust your script if necessary. sh is a posix conform, because bash is not the standard shell for all go operating...

unsudo uses `sudo -i` which cause profile to be executed. When profile is executed it can potentially write to stdout. When the results of unsudo is piped elsewhere this output...

bug

Ubuntu 22.04 ```update-golang.sh: version 0.27 update-golang.sh: find_latest: FAILED update-golang.sh: user: uid=0(root) gid=0(root) groups=0(root) update-golang.sh: update-golang.sh: RELEASE_LIST=https://go.dev/dl/ update-golang.sh: SOURCE=https://storage.googleapis.com/golang update-golang.sh: DESTINATION=/usr/local update-golang.sh: RELEASE=1.21.4 update-golang.sh: OS=linux update-golang.sh: ARCH_PROBE=uname -m update-golang.sh: ARCH=amd64 update-golang.sh:...

profile_path_add() { profile_path_remove { echo; echo "# DO NOT EDIT: installed by $path_mark"; echo ""; } >> "$abs_profiled" That double echo makes script related entries at .profile file go down...

bug

After doing: ```sh git clone https://github.com/udhos/update-golang.git cd update-golang/ wget -qO hash.txt https://raw.githubusercontent.com/udhos/update-golang/master/update-golang.sh.sha256 sha256sum -c hash.txt ``` Receiving: ```sh update-golang.sh: FAILED sha256sum: WARNING: 1 computed checksum did NOT match cat hash.txt...