Update documenso-install.sh
This commit is contained in:
parent
83f7fab8aa
commit
e5a044aba3
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user