script improvements

This commit is contained in:
Johann Grobe
2025-11-24 11:31:28 +01:00
parent 72eef4d08b
commit 23d4954854
2 changed files with 8 additions and 11 deletions

View File

@@ -28,9 +28,7 @@ function update_script() {
msg_error "No ${APP} installation found!"
exit 1
fi
if check_for_gh_release "endurain" "joaovitoriasilva/endurain"; then
msg_info "Stopping Service"
systemctl stop endurain
msg_ok "Stopped Service"
@@ -52,8 +50,6 @@ function update_script() {
rm /opt/endurain.env
msg_ok "Prepared Update"
msg_ok "Prepared Update"
msg_info "Updating Frontend"
cd /opt/endurain/frontend/app
$STD npm ci