We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 924d15b commit 6fe9c76Copy full SHA for 6fe9c76
ct/documenso.sh
@@ -36,6 +36,7 @@ function update_script() {
36
msg_info "Updating ${APP} to ${RELEASE}"
37
cp /opt/documenso/.env /opt/
38
rm -rf /opt/documenso
39
+ cd /opt
40
curl -fsSL "https://github.com/documenso/documenso/archive/refs/tags/v${RELEASE}.zip" -o v${RELEASE}.zip
41
unzip -q v${RELEASE}.zip
42
mv documenso-${RELEASE} /opt/documenso
@@ -52,7 +53,7 @@ function update_script() {
52
53
msg_ok "Started ${APP}"
54
55
msg_info "Cleaning Up"
- rm -rf v${RELEASE}.zip
56
+ rm -rf /opt/v${RELEASE}.zip
57
msg_ok "Cleaned"
58
msg_ok "Updated Successfully"
59
else
0 commit comments