diff --git a/scripts/install b/scripts/install index 0bcc85d..c4c933c 100755 --- a/scripts/install +++ b/scripts/install @@ -117,7 +117,7 @@ ynh_exec_warn_less ynh_install_go --go_version=$GO_VERSION pushd "$final_path" # Setup go exe and environnement ynh_use_go - "$ynh_go" env + /opt/goenv/versions/1.17.8/bin/go env # Build server from source make build 2>&1 # Setup a nice Yunohost logo diff --git a/scripts/ynh_install_go b/scripts/ynh_install_go index e8d248f..fbc412c 100644 --- a/scripts/ynh_install_go +++ b/scripts/ynh_install_go @@ -75,8 +75,6 @@ ynh_use_go () { pushd $final_path $goenv_install_dir/bin/goenv local $go_version popd - - "$ynh_go" env } # Install a specific version of Go