mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
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
This commit is contained in:
parent
8c376c2ae4
commit
eb8ce2088b
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue