From c03ed1c1761c32b61aa077415886982b6a84cbfb Mon Sep 17 00:00:00 2001 From: Limezy Date: Fri, 25 Mar 2022 13:48:47 +0700 Subject: [PATCH] Test --- scripts/install | 2 +- scripts/ynh_install_go | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) 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