Update actualbudget.sh

This commit is contained in:
CanbiZ 2025-01-24 14:30:18 +01:00 committed by GitHub
parent 4e8317d30c
commit 17745c344b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -43,10 +43,10 @@ function update_script() {
msg_info "Updating ${APP} to ${RELEASE}"
cd /tmp
wget -q https://github.com/actualbudget/actual-server/archive/refs/tags/v${RELEASE}.tar.gz
tar -xzf v${RELEASE}.tar.gz >/dev/null 2>&1
mv /opt/actualbudget /opt/actualbudget_bak
mkdir -p /opt/actualbudget/
mv *ctual-server-* /opt/actualbudget
tar -xzf v${RELEASE}.tar.gz >/dev/null 2>&1
mv *ctual-server-*/* /opt/actualbudget
mv /opt/actualbudget_bak/.env /opt/actualbudget
mv /opt/actualbudget_bak/server-files /opt/actualbudget/server-files
cd /opt/actualbudget