encode url

This commit is contained in:
MickLesk 2026-01-06 20:07:52 +01:00
parent b411e6ccd4
commit a5857b2a58

View File

@ -23,7 +23,8 @@ msg_ok "Installed Dependencies"
NODE_VERSION="24" setup_nodejs NODE_VERSION="24" setup_nodejs
RELEASE=$(curl -fsSL https://api.github.com/repos/papra-hq/papra/releases | grep -oP '"tag_name":\s*"\K@papra/docker@[^"]+' | head -n1) RELEASE=$(curl -fsSL https://api.github.com/repos/papra-hq/papra/releases | grep -oP '"tag_name":\s*"\K@papra/docker@[^"]+' | head -n1)
fetch_and_deploy_gh_release "papra" "papra-hq/papra" "tarball" "${RELEASE}" "/opt/papra" RELEASE_ENCODED=$(printf '%s' "$RELEASE" | jq -sRr @uri)
fetch_and_deploy_gh_release "papra" "papra-hq/papra" "tarball" "${RELEASE_ENCODED}" "/opt/papra"
msg_info "Setup Papra" msg_info "Setup Papra"
cd /opt/papra cd /opt/papra