Skip to content

Commit 6fe9c76

Browse files
authored
Update documenso.sh
1 parent 924d15b commit 6fe9c76

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ct/documenso.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ function update_script() {
3636
msg_info "Updating ${APP} to ${RELEASE}"
3737
cp /opt/documenso/.env /opt/
3838
rm -rf /opt/documenso
39+
cd /opt
3940
curl -fsSL "https://github.com/documenso/documenso/archive/refs/tags/v${RELEASE}.zip" -o v${RELEASE}.zip
4041
unzip -q v${RELEASE}.zip
4142
mv documenso-${RELEASE} /opt/documenso
@@ -52,7 +53,7 @@ function update_script() {
5253
msg_ok "Started ${APP}"
5354

5455
msg_info "Cleaning Up"
55-
rm -rf v${RELEASE}.zip
56+
rm -rf /opt/v${RELEASE}.zip
5657
msg_ok "Cleaned"
5758
msg_ok "Updated Successfully"
5859
else

0 commit comments

Comments
 (0)