From eb8ce2088b9ad0c1ba132720e73f30ffccb014ce Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Tue, 11 Jun 2024 03:10:24 +0200 Subject: [PATCH] helpers2.1: go: add --quiet to goenv install + redirect stderr to stdout such that people don't slap an ynh_exec_warn_less in front of ynh_install_go x_x --- helpers/helpers.v2.1.d/go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/helpers.v2.1.d/go b/helpers/helpers.v2.1.d/go index 98def7f3f..ba729314f 100644 --- a/helpers/helpers.v2.1.d/go +++ b/helpers/helpers.v2.1.d/go @@ -153,7 +153,7 @@ ynh_install_go () { # Install the requested version of Go local final_go_version=$(goenv latest --print "$go_version") ynh_print_info --message="Installation of Go-$final_go_version" - goenv install --skip-existing "$final_go_version" + goenv install --quiet --skip-existing "$final_go_version" 2>&1 # Store go_version into the config of this app ynh_app_setting_set --app="$app" --key="go_version" --value="$final_go_version"