diff --git a/scripts/upgrade b/scripts/upgrade index 7b277e7..a27fe72 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -31,8 +31,8 @@ then pushd $install_dir chown -R $app:www-data "$install_dir" git config --system --add safe.directory $install_dir - - ynh_exec_warn_less git pull https://git.j3s.sh/vore "$install_dir" --quiet + + ynh_exec_warn_less git pull https://git.j3s.sh/vore --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/ popd