From 2fa3c9dbddc719a0138cba2b8ede07e8a6cdf16a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 15 May 2023 16:58:33 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/upgrade b/scripts/upgrade index dec3d96..33de990 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -29,6 +29,7 @@ then ynh_use_go pushd $install_dir + git config --global --add safe.directory $install_dir git pull https://git.j3s.sh/vore "$install_dir" --quiet ynh_add_config --template="../conf/index.tmpl.html" --destination="$install_dir/files/index.tmpl.html" ynh_exec_warn_less ynh_exec_as $app CGO_ENABLED=0 $ynh_go build -o $install_dir/