From 45ccdeef3f168be655bfabaa5576b44dab1ce96f Mon Sep 17 00:00:00 2001 From: Jesper Dramsch Date: Thu, 9 Jan 2025 10:51:07 +0100 Subject: [PATCH] Avoid Workdir Co-authored-by: Michel Roegl-Brunner <73236783+michelroegl-brunner@users.noreply.github.com> --- ct/adventurelog.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ct/adventurelog.sh b/ct/adventurelog.sh index f4087d61..4ed7db09 100644 --- a/ct/adventurelog.sh +++ b/ct/adventurelog.sh @@ -68,7 +68,7 @@ function update_script() { msg_ok "Started Services" msg_info "Cleaning Up" - rm -rf v${RELEASE}.zip + rm -rf /opt/v${RELEASE}.zip mv /opt/adventurelog-backup/ adventurelog-backup-$LAST_VERSION/ # Keep backup, since AdventureLog moves quickly and we want to avoid breaking changes with rm -rf msg_ok "Cleaned" msg_ok "Updated Successfully"