From 458ef558197fac2808fc26c57d60c165941ad03f Mon Sep 17 00:00:00 2001 From: Tobias <96661824+CrazyWolf13@users.noreply.github.com> Date: Sat, 12 Sep 2026 10:59:29 +0200 Subject: [PATCH] Update Gotenberg installation script for Go version --- install/gotenberg-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/gotenberg-install.sh b/install/gotenberg-install.sh index a15d2e0bc..375da2a86 100644 --- a/install/gotenberg-install.sh +++ b/install/gotenberg-install.sh @@ -36,8 +36,6 @@ $STD apt install -y \ fonts-noto-core msg_ok "Installed Dependencies" -GO_VERSION="1.27" setup_go - fetch_and_deploy_gh_release "pdfcpu" "pdfcpu/pdfcpu" "prebuild" "latest" "/opt/pdfcpu" "pdfcpu_*_Linux_$(arch_resolve "x86_64" "arm64").tar.xz" ln -sf "$(find /opt/pdfcpu -type f -name pdfcpu | head -n1)" /usr/local/bin/pdfcpu @@ -49,6 +47,8 @@ msg_ok "Installed unoconverter" fetch_and_deploy_gh_release "gotenberg" "gotenberg/gotenberg" "tarball" "latest" "/opt/gotenberg" +GO_VERSION="$(awk '$1=="go"{print $2}' /opt/gotenberg/go.mod | cut -d. -f1,2)" setup_go + msg_info "Building Gotenberg (Patience)" cd /opt/gotenberg export CGO_ENABLED=0