From d8f433c94af492bb312e11eebdf9c58b83fc5c2c Mon Sep 17 00:00:00 2001 From: Jesper Dramsch Date: Thu, 9 Jan 2025 22:53:58 +0100 Subject: [PATCH] fix: unzip to /opt/ (#1370) --- ct/adventurelog.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ct/adventurelog.sh b/ct/adventurelog.sh index a9c80542..463762f4 100644 --- a/ct/adventurelog.sh +++ b/ct/adventurelog.sh @@ -42,7 +42,7 @@ function update_script() { msg_info "Updating ${APP} to ${RELEASE}" mv /opt/adventurelog/ /opt/adventurelog-backup/ wget -qO /opt/v${RELEASE}.zip "https://github.com/seanmorley15/AdventureLog/archive/refs/tags/v${RELEASE}.zip" - unzip -q /opt/v${RELEASE}.zip + unzip -q /opt/v${RELEASE}.zip -d /opt/ mv /opt/AdventureLog-${RELEASE} /opt/adventurelog mv /opt/adventurelog-backup/backend/server/.env /opt/adventurelog/backend/server/.env