From e5a044aba3acd66e18fce8974f5b77fecc25d3eb Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Mon, 14 Apr 2025 14:10:00 +0200 Subject: [PATCH] Update documenso-install.sh --- install/documenso-install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install/documenso-install.sh b/install/documenso-install.sh index 5679cec..6aadcbf 100644 --- a/install/documenso-install.sh +++ b/install/documenso-install.sh @@ -61,7 +61,8 @@ msg_ok "Set up PostgreSQL" msg_info "Installing Documenso (Patience)" cd /opt -RELEASE=$(curl -s https://api.github.com/repos/documenso/documenso/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') +mkdir -p /opt/documenso_data +RELEASE=$(curl -fsSL https://api.github.com/repos/documenso/documenso/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') wget -q "https://github.com/documenso/documenso/archive/refs/tags/v${RELEASE}.zip" unzip -q v${RELEASE}.zip mv documenso-${RELEASE} /opt/documenso