diff --git a/ct/gotenberg.sh b/ct/gotenberg.sh index e669a95dc..cc5c97f9c 100644 --- a/ct/gotenberg.sh +++ b/ct/gotenberg.sh @@ -48,6 +48,12 @@ function update_script() { cmd/gotenberg/main.go msg_ok "Built gotenberg" + msg_info "Updating unoconverter" + UNOCONVERTER_VERSION=$(get_latest_github_release "gotenberg/unoconverter" "false") + download_file "https://raw.githubusercontent.com/gotenberg/unoconverter/${UNOCONVERTER_VERSION}/unoconv" /usr/local/bin/unoconverter + chmod +x /usr/local/bin/unoconverter + msg_ok "Updated unoconverter" + msg_info "Starting Service" systemctl start gotenberg msg_ok "Started Service"