From 06a1779973ce6c67354a5af36d91ef2be4034e8e Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sun, 20 Mar 2022 13:36:41 +0100 Subject: [PATCH] ynh_exec_warn_less --- scripts/install | 10 +++++----- scripts/upgrade | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/scripts/install b/scripts/install index 552b9af..5ec7f39 100644 --- a/scripts/install +++ b/scripts/install @@ -121,15 +121,15 @@ ynh_add_nginx_config #================================================= ynh_script_progression --message="Building the sources (it will take some time)..." --weight=6 -ynh_install_go --go_version=$GO_VERSION +ynh_exec_warn_less ynh_install_go --go_version=$GO_VERSION pushd "$final_path/build" # Build the sources ynh_use_go - CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/dendrite-monolith-server - CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/goose - CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/create-account - CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/generate-keys + ynh_exec_warn_less CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/dendrite-monolith-server + ynh_exec_warn_less CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/goose + ynh_exec_warn_less CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/create-account + ynh_exec_warn_less CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/generate-keys popd ynh_secure_remove --file="$final_path/build" diff --git a/scripts/upgrade b/scripts/upgrade index 8eb74c6..271d86f 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -115,15 +115,15 @@ if [ "$upgrade_type" == "UPGRADE_APP" ] then ynh_script_progression --message="Building the sources (it will take some time)..." --weight=6 - ynh_install_go --go_version=$GO_VERSION + ynh_exec_warn_less ynh_install_go --go_version=$GO_VERSION pushd "$final_path/build" # Build the sources ynh_use_go - CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/dendrite-monolith-server - CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/goose - CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/create-account - CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/generate-keys + ynh_exec_warn_less CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/dendrite-monolith-server + ynh_exec_warn_less CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/goose + ynh_exec_warn_less CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/create-account + ynh_exec_warn_less =1 go build -trimpath -v -o "$final_path/bin/" ./cmd/generate-keys popd ynh_secure_remove --file="$final_path/build"