mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
helpers2.1: forgot to propagate the 'goenv latest' fix from helpers v1
This commit is contained in:
parent
0e4495f11e
commit
d8c3ff4c8a
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ ynh_go_install () {
|
||||||
test -x /usr/bin/go_goenv && mv /usr/bin/go_goenv /usr/bin/go
|
test -x /usr/bin/go_goenv && mv /usr/bin/go_goenv /usr/bin/go
|
||||||
|
|
||||||
# Install the requested version of Go
|
# Install the requested version of Go
|
||||||
local final_go_version=$(goenv latest --print "$go_version")
|
local final_go_version=$("$goenv_latest_dir/bin/goenv-latest" --print "$go_version")
|
||||||
ynh_print_info "Installation of Go-$final_go_version"
|
ynh_print_info "Installation of Go-$final_go_version"
|
||||||
goenv install --quiet --skip-existing "$final_go_version" 2>&1
|
goenv install --quiet --skip-existing "$final_go_version" 2>&1
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue