From 4087db3870683a30f9d142d65fb9406686de123f Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sun, 3 Apr 2022 04:39:11 +0200 Subject: [PATCH] Fix bullseye --- scripts/install | 2 ++ scripts/upgrade | 2 ++ 2 files changed, 4 insertions(+) diff --git a/scripts/install b/scripts/install index cda43e7..a314bfa 100755 --- a/scripts/install +++ b/scripts/install @@ -117,6 +117,8 @@ ynh_exec_warn_less ynh_install_go --go_version=$GO_VERSION pushd "$final_path" # Setup go exe and environnement ynh_use_go + export GOPATH="$final_path/go" + export GOCACHE="$final_path/.cache" # Build server from source make build 2>&1 # Setup a nice Yunohost logo diff --git a/scripts/upgrade b/scripts/upgrade index d66bc20..cd94e68 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -99,6 +99,8 @@ ynh_exec_warn_less ynh_install_go --go_version=$GO_VERSION pushd "$final_path" # Setup go exe and environnement ynh_use_go + export GOPATH="$final_path/go" + export GOCACHE="$final_path/.cache" # Build server from source make build 2>&1 # Setup a nice Yunohost logo