Update actualbudget.sh (#2817)

Fix update function
This commit is contained in:
Marc Cizeron 2024-04-19 15:21:36 +02:00 committed by GitHub
parent 00f661c9f5
commit 39a1c11940
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -57,7 +57,7 @@ header_info
if [[ ! -d /opt/actualbudget ]]; then msg_error "No ${APP} Installation Found!"; exit; fi if [[ ! -d /opt/actualbudget ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
msg_info "Updating ${APP}" msg_info "Updating ${APP}"
systemctl stop actualbudget.service systemctl stop actualbudget.service
/opt/actualbudget cd /opt/actualbudget
git pull git pull
yarn install yarn install
systemctl start actualbudget.service systemctl start actualbudget.service